#306AB7#306AB7

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

Color values

HEX#306AB7
RGBrgb(48, 106, 183)
HSLhsl(214, 58%, 45%)
HSVhsv(214, 74%, 72%)
CMYKcmyk(73.8%, 42.1%, 0%, 28.2%)
CIE-LABlab(44.74, 7.91, -46.19)
CIE-LCHlch(44.74, 46.86, 279.72°)
OKLaboklab(52.57% -0.0316 -0.132)
OKLCHoklch(52.57% 0.136 256.5)
XYZxyz(14.9171, 14.3537, 46.7749)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB7 #B77D30
analogous
#30AEB7 #306AB7 #3930B7
triadic
#306AB7 #B7306A #6AB730
tetradic
#306AB7 #B730AE #B77D30 #30B739
square
#306AB7 #B730AE #B77D30 #30B739
split-complementary
#306AB7 #B73930 #AEB730
monochromatic
#173256 #234E87 #306AB7 #5289D2 #83AADE

Accessibility & contrast

On white

5.42
#306AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#306AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB7#FFFFFF#000000##FFFFFF
##306AB71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306ab7;
/* rgb */ color: rgb(48, 106, 183);
/* oklch */ color: oklch(52.6% 0.136 256.5);
Tailwind
colors: {
  custom: {
    50: '#7a94cd',
    500: '#306ab7',
    950: '#000000',
  },
}
SCSS
$custom: #306ab7;
$custom-light: #7a94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab7",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 183
  },
  "hsl": {
    "h": 214.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.13574,
    "h": 256.5
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#306AB7
secondary
#C8A77B
accent
#9F46E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #306AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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