#2F4EAC#2F4EAC
#2F4EAC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.155 H 266.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EAC |
|---|---|
| RGB | rgb(47, 78, 172) |
| HSL | hsl(225, 57%, 43%) |
| HSV | hsv(225, 73%, 67%) |
| CMYK | cmyk(72.7%, 54.7%, 0%, 32.5%) |
| CIE-LAB | lab(36.04, 21.83, -53.71) |
| CIE-LCH | lch(36.04, 57.98, 292.12°) |
| OKLab | oklab(45.66% -0.0096 -0.1546) |
| OKLCH | oklch(45.66% 0.155 266.5) |
| XYZ | xyz(11.3405, 9.0305, 40.1671) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.17
Cobalt
#0047AB
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 4.88
Blue Blue
#2242C7
ΔE00 5.43
Dusk Blue
#26538D
ΔE00 5.68
Denim Blue
#3B5B92
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EAC #AC8D2F
analogous
#2F8CAC #2F4EAC #4E2FAC
triadic
#2F4EAC #AC2F4E #4EAC2F
tetradic
#2F4EAC #AC2F8C #AC8D2F #2FAC4E
square
#2F4EAC #AC2F8C #AC8D2F #2FAC4E
split-complementary
#2F4EAC #AC4E2F #8CAC2F
monochromatic
#15224C #22387C #2F4EAC #4B6BCE #7B92DB
Accessibility & contrast
On white
7.48
#2F4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F4EAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EAC
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EAC | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4eac; /* rgb */ color: rgb(47, 78, 172); /* oklch */ color: oklch(45.7% 0.155 266.5);
Tailwind
colors: {
custom: {
50: '#787fc5',
500: '#2f4eac',
950: '#000000',
},
}SCSS
$custom: #2f4eac; $custom-light: #787fc5; $custom-dark: #000000;
JSON
{
"hex": "#2f4eac",
"rgb": {
"r": 47,
"g": 78,
"b": 172
},
"hsl": {
"h": 225.12,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.45663,
"c": 0.15494,
"h": 266.5
},
"luminance": 0.09032
}Semantic roles & 50–950 ramp
primary
#2F4EAC
secondary
#C3AF74
accent
#BA47E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82