#2F4585#2F4585
#2F4585 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.110 H 267.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4585 |
|---|---|
| RGB | rgb(47, 69, 133) |
| HSL | hsl(225, 48%, 35%) |
| HSV | hsv(225, 65%, 52%) |
| CMYK | cmyk(64.7%, 48.1%, 0%, 47.8%) |
| CIE-LAB | lab(30.77, 13.18, -38.57) |
| CIE-LCH | lch(30.77, 40.76, 288.87°) |
| OKLab | oklab(40.79% -0.0055 -0.1102) |
| OKLCH | oklch(40.79% 0.11 267.2) |
| XYZ | xyz(7.5326, 6.5534, 23.0537) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.17
Darkish Blue
#014182
ΔE00 4.70
Twilight Blue
#0A437A
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.90
Dusk Blue
#26538D
ΔE00 5.98
Blueberry
#464196
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4585 #856F2F
analogous
#2F7085 #2F4585 #442F85
triadic
#2F4585 #852F45 #45852F
tetradic
#2F4585 #852F70 #856F2F #2F8544
square
#2F4585 #852F70 #856F2F #2F8544
split-complementary
#2F4585 #85442F #70852F
monochromatic
#0F162B #1F2E58 #2F4585 #3F5CB2 #667FC9
Accessibility & contrast
On white
9.09
#2F4585 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F4585 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4585
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4585 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4585 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254D87
Deuteranopia (green-blind)
#164584
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4585; /* rgb */ color: rgb(47, 69, 133); /* oklch */ color: oklch(40.8% 0.110 267.2);
Tailwind
colors: {
custom: {
50: '#7178a9',
500: '#2f4585',
950: '#000000',
},
}SCSS
$custom: #2f4585; $custom-light: #7178a9; $custom-dark: #000000;
JSON
{
"hex": "#2f4585",
"rgb": {
"r": 47,
"g": 69,
"b": 133
},
"hsl": {
"h": 224.651,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.40787,
"c": 0.11038,
"h": 267.2
},
"luminance": 0.06554
}Semantic roles & 50–950 ramp
primary
#2F4585
secondary
#B09B60
accent
#B550D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F