#336CA1#336CA1
#336CA1 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.8% C 0.103 H 249.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #336CA1 |
|---|---|
| RGB | rgb(51, 108, 161) |
| HSL | hsl(209, 52%, 42%) |
| HSV | hsv(209, 68%, 63%) |
| CMYK | cmyk(68.3%, 32.9%, 0%, 36.9%) |
| CIE-LAB | lab(44.23, -0.97, -34.09) |
| CIE-LCH | lch(44.23, 34.10, 268.37°) |
| OKLab | oklab(51.81% -0.0371 -0.0965) |
| OKLCH | oklch(51.81% 0.103 249) |
| XYZ | xyz(13.1584, 14.0008, 35.7203) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.08
Mid Blue
#276AB3
ΔE00 2.27
Flat Blue
#3C73A8
ΔE00 2.68
Medium Blue
#2C6FBB
ΔE00 3.13
French Blue
#436BAD
ΔE00 4.06
Dull Blue
#49759C
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CA1 #A16833
analogous
#33A19F #336CA1 #3335A1
triadic
#336CA1 #A1336C #6CA133
tetradic
#336CA1 #9F33A1 #A16833 #35A133
square
#336CA1 #9F33A1 #A16833 #35A133
split-complementary
#336CA1 #A13335 #A19F33
monochromatic
#162E44 #244D73 #336CA1 #4B8BC6 #7AA9D5
Accessibility & contrast
On white
5.53
#336CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#336CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CA1
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CA1 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556EA3
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#00797F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #336ca1; /* rgb */ color: rgb(51, 108, 161); /* oklch */ color: oklch(51.8% 0.103 249.0);
Tailwind
colors: {
custom: {
50: '#7795bd',
500: '#336ca1',
950: '#000000',
},
}SCSS
$custom: #336ca1; $custom-light: #7795bd; $custom-dark: #000000;
JSON
{
"hex": "#336ca1",
"rgb": {
"r": 51,
"g": 108,
"b": 161
},
"hsl": {
"h": 208.909,
"s": 51.887,
"l": 41.569
},
"oklch": {
"l": 0.51813,
"c": 0.10338,
"h": 249
},
"luminance": 0.14002
}Semantic roles & 50–950 ramp
primary
#336CA1
secondary
#BD9772
accent
#914CDB
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81