#2C308A#2C308A
#2C308A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.147 H 274.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C308A |
|---|---|
| RGB | rgb(44, 48, 138) |
| HSL | hsl(237, 52%, 36%) |
| HSV | hsv(237, 68%, 54%) |
| CMYK | cmyk(68.1%, 65.2%, 0%, 45.9%) |
| CIE-LAB | lab(25.21, 28.73, -50.68) |
| CIE-LCH | lch(25.21, 58.26, 299.54°) |
| OKLab | oklab(36.69% 0.0117 -0.1462) |
| OKLCH | oklch(36.69% 0.147 274.6) |
| XYZ | xyz(6.6816, 4.4838, 24.5532) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.21
Darkslateblue
#483D8B
ΔE00 5.44
Blueberry
#464196
ΔE00 5.73
Royal
#0C1793
ΔE00 6.69
Midnight Blue
#191970
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C308A #8A862C
analogous
#2C5F8A #2C308A #572C8A
triadic
#2C308A #8A2C30 #308A2C
tetradic
#2C308A #8A2C5F #8A862C #2C8A57
square
#2C308A #8A2C5F #8A862C #2C8A57
split-complementary
#2C308A #8A572C #5F8A2C
monochromatic
#0E102D #1D205C #2C308A #3B40B8 #6368CD
Accessibility & contrast
On white
11.07
#2C308A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C308A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C308A
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C308A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C308A | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c308a; /* rgb */ color: rgb(44, 48, 138); /* oklch */ color: oklch(36.7% 0.147 274.6);
Tailwind
colors: {
custom: {
50: '#7268ad',
500: '#2c308a',
950: '#000000',
},
}SCSS
$custom: #2c308a; $custom-light: #7268ad; $custom-dark: #000000;
JSON
{
"hex": "#2c308a",
"rgb": {
"r": 44,
"g": 48,
"b": 138
},
"hsl": {
"h": 237.447,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.36694,
"c": 0.14665,
"h": 274.6
},
"luminance": 0.04484
}Semantic roles & 50–950 ramp
primary
#2C308A
secondary
#B4B05E
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F