#2F3792#2F3792
#2F3792 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.148 H 273.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3792 |
|---|---|
| RGB | rgb(47, 55, 146) |
| HSL | hsl(235, 51%, 38%) |
| HSV | hsv(235, 68%, 57%) |
| CMYK | cmyk(67.8%, 62.3%, 0%, 42.7%) |
| CIE-LAB | lab(27.88, 27.46, -51.27) |
| CIE-LCH | lch(27.88, 58.16, 298.18°) |
| OKLab | oklab(38.92% 0.009 -0.1478) |
| OKLCH | oklch(38.92% 0.148 273.5) |
| XYZ | xyz(7.7251, 5.4113, 27.8259) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Blueberry
#464196
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 7.23
Cobalt
#0047AB
ΔE00 7.36
Cobalt (survey)
#1E488F
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3792 #928A2F
analogous
#2F6892 #2F3792 #592F92
triadic
#2F3792 #922F37 #37922F
tetradic
#2F3792 #922F68 #928A2F #2F9259
square
#2F3792 #922F68 #928A2F #2F9259
split-complementary
#2F3792 #92592F #68922F
monochromatic
#111435 #202664 #2F3792 #3E48C0 #6C74D0
Accessibility & contrast
On white
10.08
#2F3792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F3792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3792
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3792 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3792; /* rgb */ color: rgb(47, 55, 146); /* oklch */ color: oklch(38.9% 0.148 273.5);
Tailwind
colors: {
custom: {
50: '#746db3',
500: '#2f3792',
950: '#000000',
},
}SCSS
$custom: #2f3792; $custom-light: #746db3; $custom-dark: #000000;
JSON
{
"hex": "#2f3792",
"rgb": {
"r": 47,
"g": 55,
"b": 146
},
"hsl": {
"h": 235.152,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.38921,
"c": 0.14804,
"h": 273.5
},
"luminance": 0.05412
}Semantic roles & 50–950 ramp
primary
#2F3792
secondary
#B7B066
accent
#CF4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80