#308AB1#308AB1
#308AB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.8% C 0.102 H 230.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #308AB1 |
|---|---|
| RGB | rgb(48, 138, 177) |
| HSL | hsl(198, 57%, 44%) |
| HSV | hsv(198, 73%, 69%) |
| CMYK | cmyk(72.9%, 22%, 0%, 30.6%) |
| CIE-LAB | lab(54.00, -13.34, -28.13) |
| CIE-LCH | lch(54.00, 31.13, 244.64°) |
| OKLab | oklab(59.77% -0.0643 -0.079) |
| OKLCH | oklch(59.77% 0.102 230.9) |
| XYZ | xyz(18.2400, 21.9776, 44.8672) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.28
Cerulean
#007BA7
ΔE00 5.97
Steel Blue
#4682B4
ΔE00 6.44
Water Blue
#0E87CC
ΔE00 6.55
Dusty Blue
#5A86AD
ΔE00 6.75
Cool Blue
#4984B8
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308AB1 #B15730
analogous
#30B198 #308AB1 #3049B1
triadic
#308AB1 #B1308A #8AB130
tetradic
#308AB1 #9830B1 #B15730 #49B130
square
#308AB1 #9830B1 #B15730 #49B130
split-complementary
#308AB1 #B13049 #B19830
monochromatic
#163F51 #236481 #308AB1 #4FA8CF #7FC0DC
Accessibility & contrast
On white
3.89
#308AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#308AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308AB1
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308AB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308AB1 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7688B3
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #308ab1; /* rgb */ color: rgb(48, 138, 177); /* oklch */ color: oklch(59.8% 0.102 230.9);
Tailwind
colors: {
custom: {
50: '#7aacc8',
500: '#308ab1',
950: '#000000',
},
}SCSS
$custom: #308ab1; $custom-light: #7aacc8; $custom-dark: #000000;
JSON
{
"hex": "#308ab1",
"rgb": {
"r": 48,
"g": 138,
"b": 177
},
"hsl": {
"h": 198.14,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.59772,
"c": 0.10189,
"h": 230.9
},
"luminance": 0.2198
}Semantic roles & 50–950 ramp
primary
#308AB1
secondary
#C58F78
accent
#7647E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82