#306FB5#306FB5
#306FB5 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.128 H 253.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #306FB5 |
|---|---|
| RGB | rgb(48, 111, 181) |
| HSL | hsl(212, 58%, 45%) |
| HSV | hsv(212, 73%, 71%) |
| CMYK | cmyk(73.5%, 38.7%, 0%, 29%) |
| CIE-LAB | lab(46.09, 4.03, -42.88) |
| CIE-LCH | lch(46.09, 43.07, 275.37°) |
| OKLab | oklab(53.58% -0.0367 -0.1222) |
| OKLCH | oklch(53.58% 0.128 253.3) |
| XYZ | xyz(15.2408, 15.3318, 45.8632) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.61
Mid Blue
#276AB3
ΔE00 1.81
Flat Blue
#3C73A8
ΔE00 2.20
Bluish
#2976BB
ΔE00 2.99
Muted Blue
#3B719F
ΔE00 3.10
Windows Blue
#3778BF
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306FB5 #B57630
analogous
#30B2B5 #306FB5 #3330B5
triadic
#306FB5 #B5306F #6FB530
tetradic
#306FB5 #B530B2 #B57630 #30B533
square
#306FB5 #B530B2 #B57630 #30B533
split-complementary
#306FB5 #B53330 #B2B530
monochromatic
#163454 #235185 #306FB5 #518ED1 #82ADDE
Accessibility & contrast
On white
5.16
#306FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#306FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306FB5
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306FB5 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E74B8
Deuteranopia (green-blind)
#3A68B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #306fb5; /* rgb */ color: rgb(48, 111, 181); /* oklch */ color: oklch(53.6% 0.128 253.3);
Tailwind
colors: {
custom: {
50: '#7a97cb',
500: '#306fb5',
950: '#000000',
},
}SCSS
$custom: #306fb5; $custom-light: #7a97cb; $custom-dark: #000000;
JSON
{
"hex": "#306fb5",
"rgb": {
"r": 48,
"g": 111,
"b": 181
},
"hsl": {
"h": 211.579,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.5358,
"c": 0.12759,
"h": 253.3
},
"luminance": 0.15333
}Semantic roles & 50–950 ramp
primary
#306FB5
secondary
#C7A27A
accent
#9846E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82