#2F62B7#2F62B7
#2F62B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.145 H 260.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62B7 |
|---|---|
| RGB | rgb(47, 98, 183) |
| HSL | hsl(218, 59%, 45%) |
| HSV | hsv(218, 74%, 72%) |
| CMYK | cmyk(74.3%, 46.4%, 0%, 28.2%) |
| CIE-LAB | lab(42.39, 12.88, -49.94) |
| CIE-LCH | lch(42.39, 51.58, 284.47°) |
| OKLab | oklab(50.75% -0.0251 -0.1432) |
| OKLCH | oklch(50.75% 0.145 260) |
| XYZ | xyz(14.0841, 12.7570, 46.5106) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.73
French Blue
#436BAD
ΔE00 3.44
Mid Blue
#276AB3
ΔE00 3.79
Denim (survey)
#3B638C
ΔE00 5.02
Medium Blue
#2C6FBB
ΔE00 5.06
Denim Blue
#3B5B92
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62B7 #B7842F
analogous
#2FA6B7 #2F62B7 #402FB7
triadic
#2F62B7 #B72F62 #62B72F
tetradic
#2F62B7 #B72FA6 #B7842F #2FB740
square
#2F62B7 #B72FA6 #B7842F #2FB740
split-complementary
#2F62B7 #B7402F #A6B72F
monochromatic
#162E56 #224886 #2F62B7 #5181D2 #82A5DF
Accessibility & contrast
On white
5.91
#2F62B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2F62B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62B7
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62B7 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#155EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f62b7; /* rgb */ color: rgb(47, 98, 183); /* oklch */ color: oklch(50.7% 0.145 260.0);
Tailwind
colors: {
custom: {
50: '#7a8ecd',
500: '#2f62b7',
950: '#000000',
},
}SCSS
$custom: #2f62b7; $custom-light: #7a8ecd; $custom-dark: #000000;
JSON
{
"hex": "#2f62b7",
"rgb": {
"r": 47,
"g": 98,
"b": 183
},
"hsl": {
"h": 217.5,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.50747,
"c": 0.1454,
"h": 260
},
"luminance": 0.12759
}Semantic roles & 50–950 ramp
primary
#2F62B7
secondary
#C8AB7A
accent
#A845E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82