#2F4791#2F4791
#2F4791 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.126 H 267.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4791 |
|---|---|
| RGB | rgb(47, 71, 145) |
| HSL | hsl(225, 51%, 38%) |
| HSV | hsv(225, 68%, 57%) |
| CMYK | cmyk(67.6%, 51%, 0%, 43.1%) |
| CIE-LAB | lab(32.16, 16.33, -43.72) |
| CIE-LCH | lch(32.16, 46.67, 290.48°) |
| OKLab | oklab(42.1% -0.0059 -0.1254) |
| OKLCH | oklch(42.1% 0.126 267.3) |
| XYZ | xyz(8.5346, 7.1543, 27.7137) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.69
Cobalt
#0047AB
ΔE00 4.38
Darkish Blue
#014182
ΔE00 5.17
Dusk Blue
#26538D
ΔE00 5.54
Blueberry
#464196
ΔE00 5.60
Twilight Blue
#0A437A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4791 #91792F
analogous
#2F7891 #2F4791 #482F91
triadic
#2F4791 #912F47 #47912F
tetradic
#2F4791 #912F78 #91792F #2F9148
square
#2F4791 #912F78 #91792F #2F9148
split-complementary
#2F4791 #91482F #78912F
monochromatic
#111A35 #203063 #2F4791 #3E5EBF #6B84CF
Accessibility & contrast
On white
8.64
#2F4791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F4791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4791
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4791 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5094
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4791; /* rgb */ color: rgb(47, 71, 145); /* oklch */ color: oklch(42.1% 0.126 267.3);
Tailwind
colors: {
custom: {
50: '#7379b2',
500: '#2f4791',
950: '#000000',
},
}SCSS
$custom: #2f4791; $custom-light: #7379b2; $custom-dark: #000000;
JSON
{
"hex": "#2f4791",
"rgb": {
"r": 47,
"g": 71,
"b": 145
},
"hsl": {
"h": 225.306,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.42104,
"c": 0.1255,
"h": 267.3
},
"luminance": 0.07155
}Semantic roles & 50–950 ramp
primary
#2F4791
secondary
#B6A365
accent
#B84DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80