#306AC1#306AC1

#306AC1 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.149 H 258.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#306AC1
RGBrgb(48, 106, 193)
HSLhsl(216, 60%, 47%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(75.1%, 45.1%, 0%, 24.3%)
CIE-LABlab(45.34, 11.66, -51.03)
CIE-LCHlch(45.34, 52.34, 282.87°)
OKLaboklab(53.23% -0.0296 -0.1462)
OKLCHoklch(53.23% 0.149 258.6)
XYZxyz(15.9951, 14.7849, 52.4525)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AC1 #C18730
analogous
#30B3C1 #306AC1 #3F30C1
triadic
#306AC1 #C1306A #6AC130
tetradic
#306AC1 #C130B3 #C18730 #30C13F
square
#306AC1 #C130B3 #C18730 #30C13F
split-complementary
#306AC1 #C13F30 #B3C130
monochromatic
#18345F #244F90 #306AC1 #598BD6 #8AADE2

Accessibility & contrast

On white

5.31
#306AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#306AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AC1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AC1#FFFFFF#000000##FFFFFF
##306AC11.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #306ac1;
/* rgb */ color: rgb(48, 106, 193);
/* oklch */ color: oklch(53.2% 0.149 258.6);
Tailwind
colors: {
  custom: {
    50: '#7c94d4',
    500: '#306ac1',
    950: '#000000',
  },
}
SCSS
$custom: #306ac1;
$custom-light: #7c94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#306ac1",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 193
  },
  "hsl": {
    "h": 216,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.14921,
    "h": 258.6
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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