#306AC2#306AC2

#306AC2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.3% C 0.151 H 258.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#306AC2
RGBrgb(48, 106, 194)
HSLhsl(216, 60%, 47%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(75.3%, 45.4%, 0%, 23.9%)
CIE-LABlab(45.40, 12.04, -51.51)
CIE-LCHlch(45.40, 52.89, 283.15°)
OKLaboklab(53.3% -0.0294 -0.1476)
OKLCHoklch(53.3% 0.151 258.7)
XYZxyz(16.1070, 14.8297, 53.0420)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AC2 #C28830
analogous
#30B3C2 #306AC2 #3F30C2
triadic
#306AC2 #C2306A #6AC230
tetradic
#306AC2 #C230B3 #C28830 #30C23F
square
#306AC2 #C230B3 #C28830 #30C23F
split-complementary
#306AC2 #C23F30 #B3C230
monochromatic
#183460 #244F91 #306AC2 #598BD6 #8AADE2

Accessibility & contrast

On white

5.29
#306AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#306AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AC2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AC2#FFFFFF#000000##FFFFFF
##306AC21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C5
Deuteranopia (green-blind)
#1C65C0
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #306ac2;
/* rgb */ color: rgb(48, 106, 194);
/* oklch */ color: oklch(53.3% 0.151 258.7);
Tailwind
colors: {
  custom: {
    50: '#7c94d5',
    500: '#306ac2',
    950: '#000000',
  },
}
SCSS
$custom: #306ac2;
$custom-light: #7c94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#306ac2",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 216.164,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.15054,
    "h": 258.7
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#306AC2
secondary
#CCAF82
accent
#A444E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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