#2C339F#2C339F
#2C339F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.171 H 272.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C339F |
|---|---|
| RGB | rgb(44, 51, 159) |
| HSL | hsl(236, 57%, 40%) |
| HSV | hsv(236, 72%, 62%) |
| CMYK | cmyk(72.3%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.86, 34.35, -59.25) |
| CIE-LCH | lch(27.86, 68.49, 300.11°) |
| OKLab | oklab(39.22% 0.0077 -0.1713) |
| OKLCH | oklch(39.22% 0.171 272.6) |
| XYZ | xyz(8.4784, 5.4055, 33.3907) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.39
Blueberry
#464196
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 6.16
Ocean Blue
#4F42B5
ΔE00 6.51
Blue Blue
#2242C7
ΔE00 6.69
Indigo Blue
#3A18B1
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C339F #9F982C
analogous
#2C6C9F #2C339F #5F2C9F
triadic
#2C339F #9F2C33 #339F2C
tetradic
#2C339F #9F2C6C #9F982C #2C9F5F
square
#2C339F #9F2C6C #9F982C #2C9F5F
split-complementary
#2C339F #9F5F2C #6C9F2C
monochromatic
#11143F #1F246F #2C339F #3E47CA #6E75D7
Accessibility & contrast
On white
10.09
#2C339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2C339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C339F
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C339F | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c339f; /* rgb */ color: rgb(44, 51, 159); /* oklch */ color: oklch(39.2% 0.171 272.6);
Tailwind
colors: {
custom: {
50: '#766bbc',
500: '#2c339f',
950: '#000000',
},
}SCSS
$custom: #2c339f; $custom-light: #766bbc; $custom-dark: #000000;
JSON
{
"hex": "#2c339f",
"rgb": {
"r": 44,
"g": 51,
"b": 159
},
"hsl": {
"h": 236.348,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.39216,
"c": 0.17143,
"h": 272.6
},
"luminance": 0.05406
}Semantic roles & 50–950 ramp
primary
#2C339F
secondary
#BEB969
accent
#D748E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81