#306AB8#306AB8

#306AB8 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.137 H 256.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#306AB8
RGBrgb(48, 106, 184)
HSLhsl(214, 59%, 45%)
HSVhsv(214, 74%, 72%)
CMYKcmyk(73.9%, 42.4%, 0%, 27.8%)
CIE-LABlab(44.79, 8.28, -46.68)
CIE-LCHlch(44.79, 47.41, 280.06°)
OKLaboklab(52.63% -0.0314 -0.1335)
OKLCHoklch(52.63% 0.137 256.8)
XYZxyz(15.0215, 14.3955, 47.3250)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB8 #B87E30
analogous
#30AEB8 #306AB8 #3A30B8
triadic
#306AB8 #B8306A #6AB830
tetradic
#306AB8 #B830AE #B87E30 #30B83A
square
#306AB8 #B830AE #B87E30 #30B83A
split-complementary
#306AB8 #B83A30 #AEB830
monochromatic
#173257 #234E87 #306AB8 #5389D2 #84AADF

Accessibility & contrast

On white

5.41
#306AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#306AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB8#FFFFFF#000000##FFFFFF
##306AB81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4471BB
Deuteranopia (green-blind)
#2C64B6
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306ab8;
/* rgb */ color: rgb(48, 106, 184);
/* oklch */ color: oklch(52.6% 0.137 256.8);
Tailwind
colors: {
  custom: {
    50: '#7a94ce',
    500: '#306ab8',
    950: '#000000',
  },
}
SCSS
$custom: #306ab8;
$custom-light: #7a94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab8",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 184
  },
  "hsl": {
    "h": 214.412,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.13709,
    "h": 256.8
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#306AB8
secondary
#C8A87C
accent
#9F46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #306AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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