Color Picker
Pick any color and get its HEX, RGB, HSL, HSV, CMYK and OKLCH codes. Type a color to convert it, check text contrast, find its closest name and build tints and shades.
Type a HEX code, rgb(), hsl() or a name such as tomato.
#2B78D6close to royalblue
- HEX
- #2B78D6
- RGB
- rgb(43, 120, 214)
- HSL
- hsl(213, 68%, 50%)
- HSV
- hsv(213°, 80%, 84%)
- CMYK
- cmyk(80%, 44%, 0%, 16%)
- OKLCH
- oklch(57.6% 0.162 255.7)
Text contrast (WCAG)
Text on white
Text on black
- This color on white4.41:1AA large text only
- This color on black4.76:1AA
As a background, use white text. AA needs 4.5:1 for normal text and 3:1 for large text; AAA needs 7:1.
Tints and shades
Frequently Asked Questions
Related Tools
Related Articles
More articles in Color Tools →- Step-by-step guideHEX, RGB, HSL and CMYK Color Codes ExplainedLearn what HEX, RGB, HSL, HSV and CMYK color codes mean, when to use each, and how to convert between them, with a free online color picker.
- How to Choose Colors That Go Together: A Color Wheel GuideUse the color wheel to build color schemes that work, from complementary to triadic, with tips on balance and contrast, and a free color wheel tool.
- How to Get the Color Code from an ImageFind the exact HEX or RGB code of any color in a photo, logo or screenshot, and pull a whole palette from an image, with a free image color picker.
- How to Create a Favicon for Your WebsiteCreate a favicon from your logo, text or an emoji, get every size browsers and phones need, and add it to your site, with a free favicon generator.