#306AB3#306AB3

#306AB3 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.130 H 255.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#306AB3
RGBrgb(48, 106, 179)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(73.2%, 40.8%, 0%, 29.8%)
CIE-LABlab(44.50, 6.41, -44.23)
CIE-LCHlch(44.50, 44.69, 278.25°)
OKLaboklab(52.31% -0.0325 -0.1263)
OKLCHoklch(52.31% 0.13 255.6)
XYZxyz(14.5066, 14.1895, 44.6134)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB3 #B37930
analogous
#30ACB3 #306AB3 #3830B3
triadic
#306AB3 #B3306A #6AB330
tetradic
#306AB3 #B330AC #B37930 #30B338
square
#306AB3 #B330AC #B37930 #30B338
split-complementary
#306AB3 #B33830 #ACB330
monochromatic
#163152 #234D83 #306AB3 #5089D0 #80A9DD

Accessibility & contrast

On white

5.47
#306AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#306AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB3#FFFFFF#000000##FFFFFF
##306AB31.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4770B6
Deuteranopia (green-blind)
#3264B2
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #306ab3;
/* rgb */ color: rgb(48, 106, 179);
/* oklch */ color: oklch(52.3% 0.130 255.6);
Tailwind
colors: {
  custom: {
    50: '#7994ca',
    500: '#306ab3',
    950: '#000000',
  },
}
SCSS
$custom: #306ab3;
$custom-light: #7994ca;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab3",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 179
  },
  "hsl": {
    "h": 213.435,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.13037,
    "h": 255.6
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#306AB3
secondary
#C6A479
accent
#9D47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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