#2C309F#2C309F
#2C309F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.175 H 273.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C309F |
|---|---|
| RGB | rgb(44, 48, 159) |
| HSL | hsl(238, 57%, 40%) |
| HSV | hsv(238, 72%, 62%) |
| CMYK | cmyk(72.3%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(27.16, 36.24, -60.40) |
| CIE-LCH | lch(27.16, 70.43, 300.97°) |
| OKLab | oklab(38.71% 0.0096 -0.1746) |
| OKLCH | oklch(38.71% 0.175 273.1) |
| XYZ | xyz(8.3516, 5.1518, 33.3484) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Blueberry
#464196
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 5.99
Royal
#0C1793
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C309F #9F9B2C
analogous
#2C6A9F #2C309F #622C9F
triadic
#2C309F #9F2C30 #309F2C
tetradic
#2C309F #9F2C6A #9F9B2C #2C9F62
square
#2C309F #9F2C6A #9F9B2C #2C9F62
split-complementary
#2C309F #9F622C #6A9F2C
monochromatic
#11133F #1F226F #2C309F #3E43CA #6E72D7
Accessibility & contrast
On white
10.34
#2C309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C309F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C309F | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c309f; /* rgb */ color: rgb(44, 48, 159); /* oklch */ color: oklch(38.7% 0.175 273.1);
Tailwind
colors: {
custom: {
50: '#7769bc',
500: '#2c309f',
950: '#000000',
},
}SCSS
$custom: #2c309f; $custom-light: #7769bc; $custom-dark: #000000;
JSON
{
"hex": "#2c309f",
"rgb": {
"r": 44,
"g": 48,
"b": 159
},
"hsl": {
"h": 237.913,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.38712,
"c": 0.17488,
"h": 273.1
},
"luminance": 0.05153
}Semantic roles & 50–950 ramp
primary
#2C309F
secondary
#BEBB69
accent
#DB48E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81