#2F4698#2F4698
#2F4698 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.137 H 268.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4698 |
|---|---|
| RGB | rgb(47, 70, 152) |
| HSL | hsl(227, 53%, 39%) |
| HSV | hsv(227, 69%, 60%) |
| CMYK | cmyk(69.1%, 53.9%, 0%, 40.4%) |
| CIE-LAB | lab(32.37, 19.64, -47.64) |
| CIE-LCH | lch(32.37, 51.53, 292.40°) |
| OKLab | oklab(42.43% -0.0042 -0.1369) |
| OKLCH | oklch(42.43% 0.137 268.2) |
| XYZ | xyz(9.0280, 7.2508, 30.6234) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.40
Cobalt
#0047AB
ΔE00 3.83
Blueberry
#464196
ΔE00 5.00
Sapphire (survey)
#2138AB
ΔE00 5.52
Darkish Blue
#014182
ΔE00 5.84
Dusk Blue
#26538D
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4698 #98812F
analogous
#2F7B98 #2F4698 #4D2F98
triadic
#2F4698 #982F46 #46982F
tetradic
#2F4698 #982F7B #98812F #2F984D
square
#2F4698 #982F7B #98812F #2F984D
split-complementary
#2F4698 #984D2F #7B982F
monochromatic
#121B3B #213069 #2F4698 #405DC4 #6F85D2
Accessibility & contrast
On white
8.57
#2F4698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F4698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4698
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4698 | 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)
#0E519B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4698; /* rgb */ color: rgb(47, 70, 152); /* oklch */ color: oklch(42.4% 0.137 268.2);
Tailwind
colors: {
custom: {
50: '#7479b7',
500: '#2f4698',
950: '#000000',
},
}SCSS
$custom: #2f4698; $custom-light: #7479b7; $custom-dark: #000000;
JSON
{
"hex": "#2f4698",
"rgb": {
"r": 47,
"g": 70,
"b": 152
},
"hsl": {
"h": 226.857,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.42426,
"c": 0.13698,
"h": 268.2
},
"luminance": 0.07252
}Semantic roles & 50–950 ramp
primary
#2F4698
secondary
#BAA869
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80