#306DB1#306DB1

#306DB1 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.124 H 253.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#306DB1
RGBrgb(48, 109, 177)
HSLhsl(212, 57%, 44%)
HSVhsv(212, 73%, 69%)
CMYKcmyk(72.9%, 38.4%, 0%, 30.6%)
CIE-LABlab(45.27, 3.79, -41.84)
CIE-LCHlch(45.27, 42.01, 275.18°)
OKLaboklab(52.87% -0.0358 -0.1192)
OKLCHoklch(52.87% 0.124 253.3)
XYZxyz(14.6204, 14.7384, 43.6607)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DB1 #B17430
analogous
#30AEB1 #306DB1 #3430B1
triadic
#306DB1 #B1306D #6DB130
tetradic
#306DB1 #B130AE #B17430 #30B134
square
#306DB1 #B130AE #B17430 #30B134
split-complementary
#306DB1 #B13430 #AEB130
monochromatic
#163251 #234F81 #306DB1 #4F8CCF #7FABDC

Accessibility & contrast

On white

5.32
#306DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#306DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DB1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DB1#FFFFFF#000000##FFFFFF
##306DB11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B4
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306db1;
/* rgb */ color: rgb(48, 109, 177);
/* oklch */ color: oklch(52.9% 0.124 253.3);
Tailwind
colors: {
  custom: {
    50: '#7996c9',
    500: '#306db1',
    950: '#000000',
  },
}
SCSS
$custom: #306db1;
$custom-light: #7996c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306db1",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 177
  },
  "hsl": {
    "h": 211.628,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.12445,
    "h": 253.3
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#306DB1
secondary
#C5A178
accent
#9847E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306DB1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#306DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva