#336EBA#336EBA
#336EBA is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.8% C 0.134 H 256.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #336EBA |
|---|---|
| RGB | rgb(51, 110, 186) |
| HSL | hsl(214, 57%, 46%) |
| HSV | hsv(214, 73%, 73%) |
| CMYK | cmyk(72.6%, 40.9%, 0%, 27.1%) |
| CIE-LAB | lab(46.18, 6.93, -45.63) |
| CIE-LCH | lch(46.18, 46.15, 278.63°) |
| OKLab | oklab(53.77% -0.0326 -0.1303) |
| OKLCH | oklch(53.77% 0.134 256) |
| XYZ | xyz(15.8008, 15.3991, 48.5844) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.98
Mid Blue
#276AB3
ΔE00 2.04
French Blue
#436BAD
ΔE00 2.82
Flat Blue
#3C73A8
ΔE00 2.96
Windows Blue
#3778BF
ΔE00 3.76
Bluish
#2976BB
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336EBA #BA7F33
analogous
#33B2BA #336EBA #3C33BA
triadic
#336EBA #BA336E #6EBA33
tetradic
#336EBA #BA33B2 #BA7F33 #33BA3C
square
#336EBA #BA33B2 #BA7F33 #33BA3C
split-complementary
#336EBA #BA3C33 #B2BA33
monochromatic
#19355A #26528A #336EBA #598ED1 #89AEDF
Accessibility & contrast
On white
5.15
#336EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#336EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336EBA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336EBA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #336eba; /* rgb */ color: rgb(51, 110, 186); /* oklch */ color: oklch(53.8% 0.134 256.0);
Tailwind
colors: {
custom: {
50: '#7c97cf',
500: '#336eba',
950: '#000000',
},
}SCSS
$custom: #336eba; $custom-light: #7c97cf; $custom-dark: #000000;
JSON
{
"hex": "#336eba",
"rgb": {
"r": 51,
"g": 110,
"b": 186
},
"hsl": {
"h": 213.778,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53771,
"c": 0.13427,
"h": 256
},
"luminance": 0.15401
}Semantic roles & 50–950 ramp
primary
#336EBA
secondary
#C9A980
accent
#9E48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82