#306AB2#306AB2

#306AB2 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.129 H 255.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#306AB2
RGBrgb(48, 106, 178)
HSLhsl(213, 58%, 44%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(73%, 40.4%, 0%, 30.2%)
CIE-LABlab(44.45, 6.04, -43.74)
CIE-LCHlch(44.45, 44.15, 277.87°)
OKLaboklab(52.25% -0.0327 -0.1248)
OKLCHoklch(52.25% 0.129 255.3)
XYZxyz(14.4059, 14.1492, 44.0827)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB2 #B27830
analogous
#30ABB2 #306AB2 #3730B2
triadic
#306AB2 #B2306A #6AB230
tetradic
#306AB2 #B230AB #B27830 #30B237
square
#306AB2 #B230AB #B27830 #30B237
split-complementary
#306AB2 #B23730 #ABB230
monochromatic
#163152 #234D82 #306AB2 #5089D0 #80A9DD

Accessibility & contrast

On white

5.48
#306AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#306AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB2#FFFFFF#000000##FFFFFF
##306AB21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306ab2;
/* rgb */ color: rgb(48, 106, 178);
/* oklch */ color: oklch(52.2% 0.129 255.3);
Tailwind
colors: {
  custom: {
    50: '#7994c9',
    500: '#306ab2',
    950: '#000000',
  },
}
SCSS
$custom: #306ab2;
$custom-light: #7994c9;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab2",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 213.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.12903,
    "h": 255.3
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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