#2F4684#2F4684
#2F4684 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.108 H 266.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4684 |
|---|---|
| RGB | rgb(47, 70, 132) |
| HSL | hsl(224, 47%, 35%) |
| HSV | hsv(224, 64%, 52%) |
| CMYK | cmyk(64.4%, 47%, 0%, 48.2%) |
| CIE-LAB | lab(31.00, 12.14, -37.58) |
| CIE-LCH | lch(31.00, 39.50, 287.89°) |
| OKLab | oklab(40.94% -0.0067 -0.1073) |
| OKLCH | oklch(40.94% 0.108 266.4) |
| XYZ | xyz(7.5259, 6.6499, 22.7123) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.01
Darkish Blue
#014182
ΔE00 4.59
Twilight Blue
#0A437A
ΔE00 5.04
Dusk Blue
#26538D
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.95
Twilight
#4E518B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4684 #846D2F
analogous
#2F7084 #2F4684 #432F84
triadic
#2F4684 #842F46 #46842F
tetradic
#2F4684 #842F70 #846D2F #2F8443
square
#2F4684 #842F70 #846D2F #2F8443
split-complementary
#2F4684 #84432F #70842F
monochromatic
#0F162A #1F2E57 #2F4684 #3F5EB1 #6580C8
Accessibility & contrast
On white
9.01
#2F4684 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F4684 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4684
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4684 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4684 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284D86
Deuteranopia (green-blind)
#1A4583
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4684; /* rgb */ color: rgb(47, 70, 132); /* oklch */ color: oklch(40.9% 0.108 266.4);
Tailwind
colors: {
custom: {
50: '#7079a8',
500: '#2f4684',
950: '#000000',
},
}SCSS
$custom: #2f4684; $custom-light: #7079a8; $custom-dark: #000000;
JSON
{
"hex": "#2f4684",
"rgb": {
"r": 47,
"g": 70,
"b": 132
},
"hsl": {
"h": 223.765,
"s": 47.486,
"l": 35.098
},
"oklch": {
"l": 0.4094,
"c": 0.10754,
"h": 266.4
},
"luminance": 0.06651
}Semantic roles & 50–950 ramp
primary
#2F4684
secondary
#AF9A60
accent
#B351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F