#306AC5#306AC5

#306AC5 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.155 H 259.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#306AC5
RGBrgb(48, 106, 197)
HSLhsl(217, 61%, 48%)
HSVhsv(217, 76%, 77%)
CMYKcmyk(75.6%, 46.2%, 0%, 22.7%)
CIE-LABlab(45.59, 13.16, -52.94)
CIE-LCHlch(45.59, 54.55, 283.96°)
OKLaboklab(53.5% -0.0289 -0.1519)
OKLCHoklch(53.5% 0.155 259.2)
XYZxyz(16.4473, 14.9658, 54.8344)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AC5 #C58B30
analogous
#30B4C5 #306AC5 #4030C5
triadic
#306AC5 #C5306A #6AC530
tetradic
#306AC5 #C530B4 #C58B30 #30C540
square
#306AC5 #C530B4 #C58B30 #30C540
split-complementary
#306AC5 #C54030 #B4C530
monochromatic
#183563 #245094 #306AC5 #5B8BD7 #8CAEE3

Accessibility & contrast

On white

5.26
#306AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#306AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AC5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AC5#FFFFFF#000000##FFFFFF
##306AC51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C8
Deuteranopia (green-blind)
#1566C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306ac5;
/* rgb */ color: rgb(48, 106, 197);
/* oklch */ color: oklch(53.5% 0.155 259.2);
Tailwind
colors: {
  custom: {
    50: '#7d94d7',
    500: '#306ac5',
    950: '#000000',
  },
}
SCSS
$custom: #306ac5;
$custom-light: #7d94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#306ac5",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 216.644,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.535,
    "c": 0.15457,
    "h": 259.2
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#306AC5
secondary
#CDB184
accent
#A644E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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