#2C309B#2C309B
#2C309B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.170 H 273.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C309B |
|---|---|
| RGB | rgb(44, 48, 155) |
| HSL | hsl(238, 56%, 39%) |
| HSV | hsv(238, 72%, 61%) |
| CMYK | cmyk(71.6%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(26.78, 34.83, -58.59) |
| CIE-LCH | lch(26.78, 68.16, 300.73°) |
| OKLab | oklab(38.32% 0.0101 -0.1693) |
| OKLCH | oklch(38.32% 0.17 273.4) |
| XYZ | xyz(8.0101, 5.0152, 31.5499) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.30
Blueberry
#464196
ΔE00 5.78
Royal
#0C1793
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C309B #9B972C
analogous
#2C689B #2C309B #602C9B
triadic
#2C309B #9B2C30 #309B2C
tetradic
#2C309B #9B2C68 #9B972C #2C9B60
square
#2C309B #9B2C68 #9B972C #2C9B60
split-complementary
#2C309B #9B602C #689B2C
monochromatic
#11123C #1E216B #2C309B #3C41C8 #6C70D5
Accessibility & contrast
On white
10.48
#2C309B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2C309B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C309B
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C309B | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c309b; /* rgb */ color: rgb(44, 48, 155); /* oklch */ color: oklch(38.3% 0.170 273.4);
Tailwind
colors: {
custom: {
50: '#7669ba',
500: '#2c309b',
950: '#000000',
},
}SCSS
$custom: #2c309b; $custom-light: #7669ba; $custom-dark: #000000;
JSON
{
"hex": "#2c309b",
"rgb": {
"r": 44,
"g": 48,
"b": 155
},
"hsl": {
"h": 237.838,
"s": 55.779,
"l": 39.02
},
"oklch": {
"l": 0.38316,
"c": 0.16964,
"h": 273.4
},
"luminance": 0.05016
}Semantic roles & 50–950 ramp
primary
#2C309B
secondary
#BCB967
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81