#308FB5#308FB5
#308FB5 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.103 H 229.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #308FB5 |
|---|---|
| RGB | rgb(48, 143, 181) |
| HSL | hsl(197, 58%, 45%) |
| HSV | hsv(197, 73%, 71%) |
| CMYK | cmyk(73.5%, 21%, 0%, 29%) |
| CIE-LAB | lab(55.69, -14.74, -27.80) |
| CIE-LCH | lch(55.69, 31.47, 242.07°) |
| OKLab | oklab(61.18% -0.0679 -0.078) |
| OKLCH | oklch(61.18% 0.103 229) |
| XYZ | xyz(19.3785, 23.6072, 47.2424) |
| Luminance | 0.2361 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.36
Teal Blue
#01889F
ΔE00 7.00
Dusty Blue
#5A86AD
ΔE00 7.65
Water Blue
#0E87CC
ΔE00 7.65
Cerulean
#007BA7
ΔE00 7.72
Steel Blue
#4682B4
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308FB5 #B55630
analogous
#30B599 #308FB5 #304CB5
triadic
#308FB5 #B5308F #8FB530
tetradic
#308FB5 #9930B5 #B55630 #4CB530
square
#308FB5 #9930B5 #B55630 #4CB530
split-complementary
#308FB5 #B5304C #B59930
monochromatic
#164354 #236985 #308FB5 #51ACD1 #82C3DE
Accessibility & contrast
On white
3.67
#308FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#308FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308FB5
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308FB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308FB5 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #308fb5; /* rgb */ color: rgb(48, 143, 181); /* oklch */ color: oklch(61.2% 0.103 229.0);
Tailwind
colors: {
custom: {
50: '#7bafcb',
500: '#308fb5',
950: '#000000',
},
}SCSS
$custom: #308fb5; $custom-light: #7bafcb; $custom-dark: #000000;
JSON
{
"hex": "#308fb5",
"rgb": {
"r": 48,
"g": 143,
"b": 181
},
"hsl": {
"h": 197.143,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.61176,
"c": 0.10341,
"h": 229
},
"luminance": 0.23609
}Semantic roles & 50–950 ramp
primary
#308FB5
secondary
#C7907A
accent
#7346E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82