#283270#283270
#283270 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.107 H 272.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #283270 |
|---|---|
| RGB | rgb(40, 50, 112) |
| HSL | hsl(232, 47%, 30%) |
| HSV | hsv(232, 64%, 44%) |
| CMYK | cmyk(64.3%, 55.4%, 0%, 56.1%) |
| CIE-LAB | lab(23.34, 17.00, -37.31) |
| CIE-LCH | lch(23.34, 41.00, 294.50°) |
| OKLab | oklab(34.57% 0.005 -0.1069) |
| OKLCH | oklch(34.57% 0.107 272.6) |
| XYZ | xyz(4.9393, 3.9018, 15.8189) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.48
Darkslateblue
#483D8B
ΔE00 6.95
Marine Blue
#01386A
ΔE00 6.98
Navy Blue
#1B2A4A
ΔE00 7.34
Midnight Blue
#191970
ΔE00 7.78
Blueberry
#464196
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#283270 #706628
analogous
#285670 #283270 #422870
triadic
#283270 #702832 #327028
tetradic
#283270 #702856 #706628 #287042
square
#283270 #702856 #706628 #287042
split-complementary
#283270 #704228 #567028
monochromatic
#080A17 #181E43 #283270 #38469D #5161C1
Accessibility & contrast
On white
11.80
#283270 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#283270 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #283270
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##283270 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##283270 | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3B72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #283270; /* rgb */ color: rgb(40, 50, 112); /* oklch */ color: oklch(34.6% 0.107 272.6);
Tailwind
colors: {
custom: {
50: '#6a6999',
500: '#283270',
950: '#000000',
},
}SCSS
$custom: #283270; $custom-light: #6a6999; $custom-dark: #000000;
JSON
{
"hex": "#283270",
"rgb": {
"r": 40,
"g": 50,
"b": 112
},
"hsl": {
"h": 231.667,
"s": 47.368,
"l": 29.804
},
"oklch": {
"l": 0.34568,
"c": 0.10706,
"h": 272.6
},
"luminance": 0.03902
}Semantic roles & 50–950 ramp
primary
#283270
secondary
#A29751
accent
#C451D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E