#338CA9#338CA9
#338CA9 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.093 H 223.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #338CA9 |
|---|---|
| RGB | rgb(51, 140, 169) |
| HSL | hsl(195, 54%, 43%) |
| HSV | hsv(195, 70%, 66%) |
| CMYK | cmyk(69.8%, 17.2%, 0%, 33.7%) |
| CIE-LAB | lab(54.37, -16.70, -22.98) |
| CIE-LCH | lch(54.37, 28.40, 233.99°) |
| OKLab | oklab(59.98% -0.0678 -0.0642) |
| OKLCH | oklch(59.98% 0.093 223.4) |
| XYZ | xyz(17.9018, 22.3225, 40.8936) |
| Luminance | 0.2233 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.85
Teal Blue
#01889F
ΔE00 4.28
Ocean
#017B92
ΔE00 7.51
Cerulean
#007BA7
ΔE00 7.85
Greyish Blue
#5E819D
ΔE00 8.72
Dusty Blue
#5A86AD
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#338CA9 #A95033
analogous
#33A98B #338CA9 #3351A9
triadic
#338CA9 #A9338C #8CA933
tetradic
#338CA9 #8B33A9 #A95033 #51A933
square
#338CA9 #8B33A9 #A95033 #51A933
split-complementary
#338CA9 #A93351 #A98B33
monochromatic
#173E4B #25657A #338CA9 #4FACCA #7EC2D8
Accessibility & contrast
On white
3.84
#338CA9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#338CA9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #338CA9
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##338CA9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##338CA9 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B89AB
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #338ca9; /* rgb */ color: rgb(51, 140, 169); /* oklch */ color: oklch(60.0% 0.093 223.4);
Tailwind
colors: {
custom: {
50: '#7aadc2',
500: '#338ca9',
950: '#000000',
},
}SCSS
$custom: #338ca9; $custom-light: #7aadc2; $custom-dark: #000000;
JSON
{
"hex": "#338ca9",
"rgb": {
"r": 51,
"g": 140,
"b": 169
},
"hsl": {
"h": 194.746,
"s": 53.636,
"l": 43.137
},
"oklch": {
"l": 0.59978,
"c": 0.0934,
"h": 223.4
},
"luminance": 0.22325
}Semantic roles & 50–950 ramp
primary
#338CA9
secondary
#C18977
accent
#6F4BDD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81