#2F3F98#2F3F98
#2F3F98 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.146 H 270.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F98 |
|---|---|
| RGB | rgb(47, 63, 152) |
| HSL | hsl(231, 53%, 39%) |
| HSV | hsv(231, 69%, 60%) |
| CMYK | cmyk(69.1%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.46, 24.34, -50.73) |
| CIE-LCH | lch(30.46, 56.27, 295.63°) |
| OKLab | oklab(40.99% 0.0021 -0.1461) |
| OKLCH | oklch(40.99% 0.146 270.8) |
| XYZ | xyz(8.6154, 6.4255, 30.4859) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Blueberry
#464196
ΔE00 3.84
Cobalt
#0047AB
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F98 #98882F
analogous
#2F7498 #2F3F98 #542F98
triadic
#2F3F98 #982F3F #3F982F
tetradic
#2F3F98 #982F74 #98882F #2F9854
square
#2F3F98 #982F74 #98882F #2F9854
split-complementary
#2F3F98 #98542F #74982F
monochromatic
#12183B #212C69 #2F3F98 #4054C4 #6F7ED2
Accessibility & contrast
On white
9.19
#2F3F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F3F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F98
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F98 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3f98; /* rgb */ color: rgb(47, 63, 152); /* oklch */ color: oklch(41.0% 0.146 270.8);
Tailwind
colors: {
custom: {
50: '#7573b7',
500: '#2f3f98',
950: '#000000',
},
}SCSS
$custom: #2f3f98; $custom-light: #7573b7; $custom-dark: #000000;
JSON
{
"hex": "#2f3f98",
"rgb": {
"r": 47,
"g": 63,
"b": 152
},
"hsl": {
"h": 230.857,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.40993,
"c": 0.14612,
"h": 270.8
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#2F3F98
secondary
#BAAE69
accent
#C64CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80