#2F4BAA#2F4BAA
#2F4BAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.156 H 267.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BAA |
|---|---|
| RGB | rgb(47, 75, 170) |
| HSL | hsl(226, 57%, 43%) |
| HSV | hsv(226, 72%, 67%) |
| CMYK | cmyk(72.4%, 55.9%, 0%, 33.3%) |
| CIE-LAB | lab(35.08, 23.06, -54.08) |
| CIE-LCH | lch(35.08, 58.80, 293.10°) |
| OKLab | oklab(44.89% -0.0073 -0.1558) |
| OKLCH | oklch(44.89% 0.156 267.3) |
| XYZ | xyz(10.9415, 8.5376, 39.0937) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Sapphire
#0F52BA
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 4.73
Blue Blue
#2242C7
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.88
Dusk Blue
#26538D
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BAA #AA8E2F
analogous
#2F89AA #2F4BAA #502FAA
triadic
#2F4BAA #AA2F4B #4BAA2F
tetradic
#2F4BAA #AA2F89 #AA8E2F #2FAA50
square
#2F4BAA #AA2F89 #AA8E2F #2FAA50
split-complementary
#2F4BAA #AA502F #89AA2F
monochromatic
#14214A #22367A #2F4BAA #4967CD #798FDA
Accessibility & contrast
On white
7.76
#2F4BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F4BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BAA
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BAA | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4baa; /* rgb */ color: rgb(47, 75, 170); /* oklch */ color: oklch(44.9% 0.156 267.3);
Tailwind
colors: {
custom: {
50: '#787cc4',
500: '#2f4baa',
950: '#000000',
},
}SCSS
$custom: #2f4baa; $custom-light: #787cc4; $custom-dark: #000000;
JSON
{
"hex": "#2f4baa",
"rgb": {
"r": 47,
"g": 75,
"b": 170
},
"hsl": {
"h": 226.341,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.44889,
"c": 0.15596,
"h": 267.3
},
"luminance": 0.08539
}Semantic roles & 50–950 ramp
primary
#2F4BAA
secondary
#C2B072
accent
#BD48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82