#230F6A#230F6A
#230F6A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.6% C 0.143 H 281.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #230F6A |
|---|---|
| RGB | rgb(35, 15, 106) |
| HSL | hsl(253, 75%, 24%) |
| HSV | hsv(253, 86%, 42%) |
| CMYK | cmyk(67%, 85.8%, 0%, 58.4%) |
| CIE-LAB | lab(14.05, 36.24, -48.61) |
| CIE-LCH | lch(14.05, 60.63, 306.70°) |
| OKLab | oklab(27.55% 0.0288 -0.1403) |
| OKLCH | oklch(27.55% 0.143 281.6) |
| XYZ | xyz(3.4647, 1.7393, 13.7860) |
| Luminance | 0.0174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.02
Darkblue (survey)
#030764
ΔE00 3.21
Dark Royal Blue
#02066F
ΔE00 3.25
Deep Blue
#040273
ΔE00 3.69
Dark Indigo
#1F0954
ΔE00 3.87
Dark Blue
#00035B
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#230F6A #566A0F
analogous
#0F286A #230F6A #500F6A
triadic
#230F6A #6A230F #0F6A23
tetradic
#230F6A #6A0F28 #566A0F #0F6A50
square
#230F6A #6A0F28 #566A0F #0F6A50
split-complementary
#230F6A #6A500F #286A0F
monochromatic
#09041B #110734 #230F6A #3517A0 #461ED5
Accessibility & contrast
On white
15.58
#230F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#230F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #230F6A
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##230F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##230F6A | 1.00 | 15.58 | 1.35 | 15.58 |
| #FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #230f6a; /* rgb */ color: rgb(35, 15, 106); /* oklch */ color: oklch(27.6% 0.143 281.6);
Tailwind
colors: {
custom: {
50: '#695196',
500: '#230f6a',
950: '#000000',
},
}SCSS
$custom: #230f6a; $custom-light: #695196; $custom-dark: #000000;
JSON
{
"hex": "#230f6a",
"rgb": {
"r": 35,
"g": 15,
"b": 106
},
"hsl": {
"h": 253.187,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.27552,
"c": 0.14317,
"h": 281.6
},
"luminance": 0.0174
}Semantic roles & 50–950 ramp
primary
#230F6A
secondary
#8AA232
accent
#F236C9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E