#338BAA#338BAA
#338BAA is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.094 H 225.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #338BAA |
|---|---|
| RGB | rgb(51, 139, 170) |
| HSL | hsl(196, 54%, 43%) |
| HSV | hsv(196, 70%, 67%) |
| CMYK | cmyk(70%, 18.2%, 0%, 33.3%) |
| CIE-LAB | lab(54.10, -15.82, -23.96) |
| CIE-LCH | lch(54.10, 28.71, 236.56°) |
| OKLab | oklab(59.78% -0.0664 -0.067) |
| OKLCH | oklch(59.78% 0.094 225.3) |
| XYZ | xyz(17.8506, 22.0693, 41.3415) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.48
Teal Blue
#01889F
ΔE00 4.81
Cerulean
#007BA7
ΔE00 7.17
Ocean
#017B92
ΔE00 7.58
Greyish Blue
#5E819D
ΔE00 8.21
Dusty Blue
#5A86AD
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338BAA #AA5233
analogous
#33AA8D #338BAA #334FAA
triadic
#338BAA #AA338B #8BAA33
tetradic
#338BAA #8D33AA #AA5233 #4FAA33
square
#338BAA #8D33AA #AA5233 #4FAA33
split-complementary
#338BAA #AA334F #AA8D33
monochromatic
#173E4C #25657B #338BAA #50AACA #7FC1D9
Accessibility & contrast
On white
3.88
#338BAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#338BAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338BAA
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338BAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338BAA | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A88AC
Deuteranopia (green-blind)
#6A7CAA
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #338baa; /* rgb */ color: rgb(51, 139, 170); /* oklch */ color: oklch(59.8% 0.094 225.3);
Tailwind
colors: {
custom: {
50: '#7aadc3',
500: '#338baa',
950: '#000000',
},
}SCSS
$custom: #338baa; $custom-light: #7aadc3; $custom-dark: #000000;
JSON
{
"hex": "#338baa",
"rgb": {
"r": 51,
"g": 139,
"b": 170
},
"hsl": {
"h": 195.63,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.59777,
"c": 0.09434,
"h": 225.3
},
"luminance": 0.22071
}Semantic roles & 50–950 ramp
primary
#338BAA
secondary
#C28B77
accent
#714BDD
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81