#306198#306198
#306198 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.104 H 253.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #306198 |
|---|---|
| RGB | rgb(48, 97, 152) |
| HSL | hsl(212, 52%, 39%) |
| HSV | hsv(212, 68%, 60%) |
| CMYK | cmyk(68.4%, 36.2%, 0%, 40.4%) |
| CIE-LAB | lab(40.32, 2.08, -34.92) |
| CIE-LCH | lch(40.32, 34.99, 273.41°) |
| OKLab | oklab(48.56% -0.0303 -0.0991) |
| OKLCH | oklch(48.56% 0.104 253) |
| XYZ | xyz(11.1590, 11.4436, 31.3204) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim (survey)
#3B638C
ΔE00 2.20
Light Navy Blue
#2E5A88
ΔE00 2.93
Denim Blue
#3B5B92
ΔE00 3.61
Denim
#1560BD
ΔE00 3.93
Mid Blue
#276AB3
ΔE00 4.23
Ugly Blue
#31668A
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306198 #986730
analogous
#309598 #306198 #333098
triadic
#306198 #983061 #619830
tetradic
#306198 #983095 #986730 #309833
square
#306198 #983095 #986730 #309833
split-complementary
#306198 #983330 #959830
monochromatic
#13263B #214369 #306198 #427FC3 #709ED2
Accessibility & contrast
On white
6.38
#306198 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#306198 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306198
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306198 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#49649A
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #306198; /* rgb */ color: rgb(48, 97, 152); /* oklch */ color: oklch(48.6% 0.104 253.0);
Tailwind
colors: {
custom: {
50: '#748db6',
500: '#306198',
950: '#000000',
},
}SCSS
$custom: #306198; $custom-light: #748db6; $custom-dark: #000000;
JSON
{
"hex": "#306198",
"rgb": {
"r": 48,
"g": 97,
"b": 152
},
"hsl": {
"h": 211.731,
"s": 52,
"l": 39.216
},
"oklch": {
"l": 0.48556,
"c": 0.10365,
"h": 253
},
"luminance": 0.11445
}Semantic roles & 50–950 ramp
primary
#306198
secondary
#BA946A
accent
#984CDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80