#2F5EBB#2F5EBB
#2F5EBB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.156 H 262.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5EBB |
|---|---|
| RGB | rgb(47, 94, 187) |
| HSL | hsl(220, 60%, 46%) |
| HSV | hsv(220, 75%, 73%) |
| CMYK | cmyk(74.9%, 49.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.53, 16.99, -53.68) |
| CIE-LCH | lch(41.53, 56.30, 287.56°) |
| OKLab | oklab(50.17% -0.0212 -0.1543) |
| OKLCH | oklch(50.17% 0.156 262.2) |
| XYZ | xyz(14.1414, 12.1960, 48.6128) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.48
Sapphire
#0F52BA
ΔE00 4.02
French Blue
#436BAD
ΔE00 4.72
Denim Blue
#3B5B92
ΔE00 5.17
Mid Blue
#276AB3
ΔE00 5.41
Denim (survey)
#3B638C
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5EBB #BB8C2F
analogous
#2FA4BB #2F5EBB #462FBB
triadic
#2F5EBB #BB2F5E #5EBB2F
tetradic
#2F5EBB #BB2FA4 #BB8C2F #2FBB46
square
#2F5EBB #BB2FA4 #BB8C2F #2FBB46
split-complementary
#2F5EBB #BB462F #A4BB2F
monochromatic
#162D59 #23458A #2F5EBB #537ED4 #84A3E0
Accessibility & contrast
On white
6.11
#2F5EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2F5EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5EBB
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5EBB | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f5ebb; /* rgb */ color: rgb(47, 94, 187); /* oklch */ color: oklch(50.2% 0.156 262.2);
Tailwind
colors: {
custom: {
50: '#7b8bd0',
500: '#2f5ebb',
950: '#000000',
},
}SCSS
$custom: #2f5ebb; $custom-light: #7b8bd0; $custom-dark: #000000;
JSON
{
"hex": "#2f5ebb",
"rgb": {
"r": 47,
"g": 94,
"b": 187
},
"hsl": {
"h": 219.857,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.50165,
"c": 0.15571,
"h": 262.2
},
"luminance": 0.12198
}Semantic roles & 50–950 ramp
primary
#2F5EBB
secondary
#C9B07C
accent
#AE45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82