#2F3892#2F3892
#2F3892 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.147 H 273.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3892 |
|---|---|
| RGB | rgb(47, 56, 146) |
| HSL | hsl(235, 51%, 38%) |
| HSV | hsv(235, 68%, 57%) |
| CMYK | cmyk(67.8%, 61.6%, 0%, 42.7%) |
| CIE-LAB | lab(28.13, 26.80, -50.85) |
| CIE-LCH | lch(28.13, 57.48, 297.79°) |
| OKLab | oklab(39.11% 0.0081 -0.1465) |
| OKLCH | oklch(39.11% 0.147 273.2) |
| XYZ | xyz(7.7730, 5.5073, 27.8419) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Blueberry
#464196
ΔE00 4.04
Darkslateblue
#483D8B
ΔE00 4.69
Cobalt
#0047AB
ΔE00 7.10
Cobalt (survey)
#1E488F
ΔE00 7.18
Ocean Blue
#4F42B5
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3892 #92892F
analogous
#2F6A92 #2F3892 #572F92
triadic
#2F3892 #922F38 #38922F
tetradic
#2F3892 #922F6A #92892F #2F9257
square
#2F3892 #922F6A #92892F #2F9257
split-complementary
#2F3892 #92572F #6A922F
monochromatic
#111435 #202664 #2F3892 #3E4AC0 #6C75D0
Accessibility & contrast
On white
9.99
#2F3892 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F3892 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3892
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3892 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3892 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3892; /* rgb */ color: rgb(47, 56, 146); /* oklch */ color: oklch(39.1% 0.147 273.2);
Tailwind
colors: {
custom: {
50: '#746eb3',
500: '#2f3892',
950: '#000000',
},
}SCSS
$custom: #2f3892; $custom-light: #746eb3; $custom-dark: #000000;
JSON
{
"hex": "#2f3892",
"rgb": {
"r": 47,
"g": 56,
"b": 146
},
"hsl": {
"h": 234.545,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.39111,
"c": 0.14675,
"h": 273.2
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#2F3892
secondary
#B7AF66
accent
#CE4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80