#306CB2#306CB2
#306CB2 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.127 H 254.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #306CB2 |
|---|---|
| RGB | rgb(48, 108, 178) |
| HSL | hsl(212, 58%, 44%) |
| HSV | hsv(212, 73%, 70%) |
| CMYK | cmyk(73%, 39.3%, 0%, 30.2%) |
| CIE-LAB | lab(45.03, 4.79, -42.80) |
| CIE-LCH | lch(45.03, 43.07, 276.38°) |
| OKLab | oklab(52.71% -0.0346 -0.122) |
| OKLCH | oklch(52.71% 0.127 254.2) |
| XYZ | xyz(14.6144, 14.5662, 44.1522) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 0.91
Medium Blue
#2C6FBB
ΔE00 1.43
French Blue
#436BAD
ΔE00 2.87
Flat Blue
#3C73A8
ΔE00 2.94
Muted Blue
#3B719F
ΔE00 3.42
Bluish
#2976BB
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306CB2 #B27630
analogous
#30ADB2 #306CB2 #3530B2
triadic
#306CB2 #B2306C #6CB230
tetradic
#306CB2 #B230AD #B27630 #30B235
square
#306CB2 #B230AD #B27630 #30B235
split-complementary
#306CB2 #B23530 #ADB230
monochromatic
#163252 #234F82 #306CB2 #508BD0 #80ABDD
Accessibility & contrast
On white
5.37
#306CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#306CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306CB2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306CB2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #306cb2; /* rgb */ color: rgb(48, 108, 178); /* oklch */ color: oklch(52.7% 0.127 254.2);
Tailwind
colors: {
custom: {
50: '#7995c9',
500: '#306cb2',
950: '#000000',
},
}SCSS
$custom: #306cb2; $custom-light: #7995c9; $custom-dark: #000000;
JSON
{
"hex": "#306cb2",
"rgb": {
"r": 48,
"g": 108,
"b": 178
},
"hsl": {
"h": 212.308,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.52706,
"c": 0.12684,
"h": 254.2
},
"luminance": 0.14568
}Semantic roles & 50–950 ramp
primary
#306CB2
secondary
#C6A278
accent
#9A47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82