#2F4898#2F4898
#2F4898 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.134 H 267.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4898 |
|---|---|
| RGB | rgb(47, 72, 152) |
| HSL | hsl(226, 53%, 39%) |
| HSV | hsv(226, 69%, 60%) |
| CMYK | cmyk(69.1%, 52.6%, 0%, 40.4%) |
| CIE-LAB | lab(32.93, 18.29, -46.73) |
| CIE-LCH | lch(32.93, 50.19, 291.38°) |
| OKLab | oklab(42.85% -0.0061 -0.1342) |
| OKLCH | oklch(42.85% 0.134 267.4) |
| XYZ | xyz(9.1552, 7.5052, 30.6658) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.99
Cobalt
#0047AB
ΔE00 3.67
Blueberry
#464196
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.56
Darkish Blue
#014182
ΔE00 5.71
Sapphire
#0F52BA
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4898 #987F2F
analogous
#2F7D98 #2F4898 #4B2F98
triadic
#2F4898 #982F48 #48982F
tetradic
#2F4898 #982F7D #987F2F #2F984B
square
#2F4898 #982F7D #987F2F #2F984B
split-complementary
#2F4898 #984B2F #7D982F
monochromatic
#121C3B #213269 #2F4898 #4060C4 #6F87D2
Accessibility & contrast
On white
8.40
#2F4898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F4898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4898
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4898 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f4898; /* rgb */ color: rgb(47, 72, 152); /* oklch */ color: oklch(42.8% 0.134 267.4);
Tailwind
colors: {
custom: {
50: '#747ab7',
500: '#2f4898',
950: '#000000',
},
}SCSS
$custom: #2f4898; $custom-light: #747ab7; $custom-dark: #000000;
JSON
{
"hex": "#2f4898",
"rgb": {
"r": 47,
"g": 72,
"b": 152
},
"hsl": {
"h": 225.714,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.42849,
"c": 0.13436,
"h": 267.4
},
"luminance": 0.07506
}Semantic roles & 50–950 ramp
primary
#2F4898
secondary
#BAA769
accent
#BA4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80