#306AB1#306AB1

#306AB1 is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.2% C 0.128 H 255.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#306AB1
RGBrgb(48, 106, 177)
HSLhsl(213, 57%, 44%)
HSVhsv(213, 73%, 69%)
CMYKcmyk(72.9%, 40.1%, 0%, 30.6%)
CIE-LABlab(44.39, 5.67, -43.24)
CIE-LCHlch(44.39, 43.62, 277.47°)
OKLaboklab(52.19% -0.0329 -0.1234)
OKLCHoklch(52.19% 0.128 255.1)
XYZxyz(14.3058, 14.1092, 43.5558)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB1 #B17730
analogous
#30ABB1 #306AB1 #3730B1
triadic
#306AB1 #B1306A #6AB130
tetradic
#306AB1 #B130AB #B17730 #30B137
square
#306AB1 #B130AB #B17730 #30B137
split-complementary
#306AB1 #B13730 #ABB130
monochromatic
#163051 #234D81 #306AB1 #4F89CF #7FA9DC

Accessibility & contrast

On white

5.49
#306AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#306AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB1#FFFFFF#000000##FFFFFF
##306AB11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB4
Deuteranopia (green-blind)
#3463B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306ab1;
/* rgb */ color: rgb(48, 106, 177);
/* oklch */ color: oklch(52.2% 0.128 255.1);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#306ab1',
    950: '#000000',
  },
}
SCSS
$custom: #306ab1;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab1",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 177
  },
  "hsl": {
    "h": 213.023,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.12769,
    "h": 255.1
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#306AB1
secondary
#C5A278
accent
#9C47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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