#2F3097#2F3097
#2F3097 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.164 H 275.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3097 |
|---|---|
| RGB | rgb(47, 48, 151) |
| HSL | hsl(239, 53%, 39%) |
| HSV | hsv(239, 69%, 59%) |
| CMYK | cmyk(68.9%, 68.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.60, 33.80, -56.43) |
| CIE-LCH | lch(26.60, 65.78, 300.92°) |
| OKLab | oklab(38.12% 0.0142 -0.163) |
| OKLCH | oklch(38.12% 0.164 275) |
| XYZ | xyz(7.8133, 4.9519, 29.8162) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Blueberry
#464196
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 5.75
Royal
#0C1793
ΔE00 6.24
Indigo Blue
#3A18B1
ΔE00 6.57
Ocean Blue
#4F42B5
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3097 #97962F
analogous
#2F6497 #2F3097 #622F97
triadic
#2F3097 #972F30 #30972F
tetradic
#2F3097 #972F64 #97962F #2F9762
square
#2F3097 #972F64 #97962F #2F9762
split-complementary
#2F3097 #97622F #64972F
monochromatic
#12123A #202168 #2F3097 #4041C3 #6E6FD2
Accessibility & contrast
On white
10.55
#2F3097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F3097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3097
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3097 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3097; /* rgb */ color: rgb(47, 48, 151); /* oklch */ color: oklch(38.1% 0.164 275.0);
Tailwind
colors: {
custom: {
50: '#7669b7',
500: '#2f3097',
950: '#000000',
},
}SCSS
$custom: #2f3097; $custom-light: #7669b7; $custom-dark: #000000;
JSON
{
"hex": "#2f3097",
"rgb": {
"r": 47,
"g": 48,
"b": 151
},
"hsl": {
"h": 239.423,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.38122,
"c": 0.16356,
"h": 275
},
"luminance": 0.04953
}Semantic roles & 50–950 ramp
primary
#2F3097
secondary
#B9B968
accent
#DB4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80