#306AB9#306AB9

#306AB9 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.7% C 0.138 H 257.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#306AB9
RGBrgb(48, 106, 185)
HSLhsl(215, 59%, 46%)
HSVhsv(215, 74%, 73%)
CMYKcmyk(74.1%, 42.7%, 0%, 27.5%)
CIE-LABlab(44.85, 8.66, -47.17)
CIE-LCHlch(44.85, 47.95, 280.40°)
OKLaboklab(52.7% -0.0311 -0.1349)
OKLCHoklch(52.7% 0.138 257)
XYZxyz(15.1267, 14.4375, 47.8790)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AB9 #B97F30
analogous
#30AEB9 #306AB9 #3B30B9
triadic
#306AB9 #B9306A #6AB930
tetradic
#306AB9 #B930AE #B97F30 #30B93B
square
#306AB9 #B930AE #B97F30 #30B93B
split-complementary
#306AB9 #B93B30 #AEB930
monochromatic
#173258 #234E88 #306AB9 #5489D3 #84ABDF

Accessibility & contrast

On white

5.40
#306AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#306AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AB9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AB9#FFFFFF#000000##FFFFFF
##306AB91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BC
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #306ab9;
/* rgb */ color: rgb(48, 106, 185);
/* oklch */ color: oklch(52.7% 0.138 257.0);
Tailwind
colors: {
  custom: {
    50: '#7a94ce',
    500: '#306ab9',
    950: '#000000',
  },
}
SCSS
$custom: #306ab9;
$custom-light: #7a94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#306ab9",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 185
  },
  "hsl": {
    "h": 214.599,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.13844,
    "h": 257
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#306AB9
secondary
#C9A87C
accent
#A046E2
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #306AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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