#2F4794#2F4794
#2F4794 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.130 H 267.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4794 |
|---|---|
| RGB | rgb(47, 71, 148) |
| HSL | hsl(226, 52%, 38%) |
| HSV | hsv(226, 68%, 58%) |
| CMYK | cmyk(68.2%, 52%, 0%, 42%) |
| CIE-LAB | lab(32.37, 17.46, -45.21) |
| CIE-LCH | lch(32.37, 48.47, 291.11°) |
| OKLab | oklab(42.33% -0.0055 -0.1298) |
| OKLCH | oklch(42.33% 0.13 267.6) |
| XYZ | xyz(8.7690, 7.2481, 28.9481) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.87
Cobalt
#0047AB
ΔE00 4.08
Darkish Blue
#014182
ΔE00 5.41
Blueberry
#464196
ΔE00 5.42
Dusk Blue
#26538D
ΔE00 5.67
Twilight Blue
#0A437A
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4794 #947C2F
analogous
#2F7994 #2F4794 #4A2F94
triadic
#2F4794 #942F47 #47942F
tetradic
#2F4794 #942F79 #947C2F #2F944A
square
#2F4794 #942F79 #947C2F #2F944A
split-complementary
#2F4794 #944A2F #79942F
monochromatic
#111A37 #203166 #2F4794 #3E5EC2 #6D85D1
Accessibility & contrast
On white
8.57
#2F4794 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F4794 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4794
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4794 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4794; /* rgb */ color: rgb(47, 71, 148); /* oklch */ color: oklch(42.3% 0.130 267.6);
Tailwind
colors: {
custom: {
50: '#7479b4',
500: '#2f4794',
950: '#000000',
},
}SCSS
$custom: #2f4794; $custom-light: #7479b4; $custom-dark: #000000;
JSON
{
"hex": "#2f4794",
"rgb": {
"r": 47,
"g": 71,
"b": 148
},
"hsl": {
"h": 225.743,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.4233,
"c": 0.12988,
"h": 267.6
},
"luminance": 0.07249
}Semantic roles & 50–950 ramp
primary
#2F4794
secondary
#B8A567
accent
#B94DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80