#306AC7#306AC7
#306AC7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.157 H 259.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #306AC7 |
|---|---|
| RGB | rgb(48, 106, 199) |
| HSL | hsl(217, 61%, 48%) |
| HSV | hsv(217, 76%, 78%) |
| CMYK | cmyk(75.9%, 46.7%, 0%, 22%) |
| CIE-LAB | lab(45.71, 13.92, -53.88) |
| CIE-LCH | lch(45.71, 55.65, 284.48°) |
| OKLab | oklab(53.64% -0.0286 -0.1546) |
| OKLCH | oklch(53.64% 0.157 259.5) |
| XYZ | xyz(16.6780, 15.0581, 56.0493) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 3.02
French Blue
#436BAD
ΔE00 3.08
Mid Blue
#276AB3
ΔE00 3.27
Denim
#1560BD
ΔE00 3.90
Cerulean Blue
#056EEE
ΔE00 4.40
Royal Blue
#4169E1
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306AC7 #C78D30
analogous
#30B5C7 #306AC7 #4230C7
triadic
#306AC7 #C7306A #6AC730
tetradic
#306AC7 #C730B5 #C78D30 #30C742
square
#306AC7 #C730B5 #C78D30 #30C742
split-complementary
#306AC7 #C74230 #B5C730
monochromatic
#183564 #245096 #306AC7 #5C8CD8 #8EAFE4
Accessibility & contrast
On white
5.23
#306AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#306AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306AC7
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306AC7 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3874CA
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #306ac7; /* rgb */ color: rgb(48, 106, 199); /* oklch */ color: oklch(53.6% 0.157 259.5);
Tailwind
colors: {
custom: {
50: '#7d94d8',
500: '#306ac7',
950: '#000000',
},
}SCSS
$custom: #306ac7; $custom-light: #7d94d8; $custom-dark: #000000;
JSON
{
"hex": "#306ac7",
"rgb": {
"r": 48,
"g": 106,
"b": 199
},
"hsl": {
"h": 216.954,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.53638,
"c": 0.15726,
"h": 259.5
},
"luminance": 0.1506
}Semantic roles & 50–950 ramp
primary
#306AC7
secondary
#CEB285
accent
#A744E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83