#306CB3#306CB3

#306CB3 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.128 H 254.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#306CB3
RGBrgb(48, 108, 179)
HSLhsl(213, 58%, 45%)
HSVhsv(213, 73%, 70%)
CMYKcmyk(73.2%, 39.7%, 0%, 29.8%)
CIE-LABlab(45.09, 5.16, -43.30)
CIE-LCHlch(45.09, 43.60, 276.80°)
OKLaboklab(52.77% -0.0343 -0.1235)
OKLCHoklch(52.77% 0.128 254.5)
XYZxyz(14.7152, 14.6065, 44.6829)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CB3 #B37730
analogous
#30AEB3 #306CB3 #3630B3
triadic
#306CB3 #B3306C #6CB330
tetradic
#306CB3 #B330AE #B37730 #30B336
square
#306CB3 #B330AE #B37730 #30B336
split-complementary
#306CB3 #B33630 #AEB330
monochromatic
#163252 #234F83 #306CB3 #508BD0 #80ABDD

Accessibility & contrast

On white

5.35
#306CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#306CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CB3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CB3#FFFFFF#000000##FFFFFF
##306CB31.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306cb3;
/* rgb */ color: rgb(48, 108, 179);
/* oklch */ color: oklch(52.8% 0.128 254.5);
Tailwind
colors: {
  custom: {
    50: '#7995ca',
    500: '#306cb3',
    950: '#000000',
  },
}
SCSS
$custom: #306cb3;
$custom-light: #7995ca;
$custom-dark: #000000;
JSON
{
  "hex": "#306cb3",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 212.519,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.12817,
    "h": 254.5
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#306CB3
secondary
#C6A379
accent
#9A47E1
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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