#23306F#23306F
#23306F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.110 H 270.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #23306F |
|---|---|
| RGB | rgb(35, 48, 111) |
| HSL | hsl(230, 52%, 29%) |
| HSV | hsv(230, 68%, 44%) |
| CMYK | cmyk(68.5%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.37, 17.08, -38.26) |
| CIE-LCH | lch(22.37, 41.89, 294.05°) |
| OKLab | oklab(33.72% 0.0012 -0.1099) |
| OKLCH | oklch(33.72% 0.11 270.6) |
| XYZ | xyz(4.6184, 3.6185, 15.4909) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.89
Marine Blue
#01386A
ΔE00 6.65
Navy Blue
#1B2A4A
ΔE00 7.10
Midnight Blue
#191970
ΔE00 7.34
Darkslateblue
#483D8B
ΔE00 7.63
Darkish Blue
#014182
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23306F #6F6223
analogous
#23566F #23306F #3C236F
triadic
#23306F #6F2330 #306F23
tetradic
#23306F #6F2356 #6F6223 #236F3C
square
#23306F #6F2356 #6F6223 #236F3C
split-complementary
#23306F #6F3C23 #566F23
monochromatic
#070A17 #141C40 #23306F #32449E #475DC5
Accessibility & contrast
On white
12.18
#23306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#23306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23306F
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23306F | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #23306f; /* rgb */ color: rgb(35, 48, 111); /* oklch */ color: oklch(33.7% 0.110 270.6);
Tailwind
colors: {
custom: {
50: '#676899',
500: '#23306f',
950: '#000000',
},
}SCSS
$custom: #23306f; $custom-light: #676899; $custom-dark: #000000;
JSON
{
"hex": "#23306f",
"rgb": {
"r": 35,
"g": 48,
"b": 111
},
"hsl": {
"h": 229.737,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.33724,
"c": 0.10992,
"h": 270.6
},
"luminance": 0.03619
}Semantic roles & 50–950 ramp
primary
#23306F
secondary
#A2934C
accent
#C34CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E