#306AC4#306AC4

#306AC4 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.153 H 259.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#306AC4
RGBrgb(48, 106, 196)
HSLhsl(216, 61%, 48%)
HSVhsv(216, 76%, 77%)
CMYKcmyk(75.5%, 45.9%, 0%, 23.1%)
CIE-LABlab(45.52, 12.79, -52.46)
CIE-LCHlch(45.52, 54.00, 283.70°)
OKLaboklab(53.43% -0.0291 -0.1504)
OKLCHoklch(53.43% 0.153 259.1)
XYZxyz(16.3331, 14.9201, 54.2329)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AC4 #C48A30
analogous
#30B4C4 #306AC4 #4030C4
triadic
#306AC4 #C4306A #6AC430
tetradic
#306AC4 #C430B4 #C48A30 #30C440
square
#306AC4 #C430B4 #C48A30 #30C440
split-complementary
#306AC4 #C44030 #B4C430
monochromatic
#183562 #244F93 #306AC4 #5A8BD7 #8CAEE3

Accessibility & contrast

On white

5.27
#306AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#306AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AC4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AC4#FFFFFF#000000##FFFFFF
##306AC41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C7
Deuteranopia (green-blind)
#1865C2
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306ac4;
/* rgb */ color: rgb(48, 106, 196);
/* oklch */ color: oklch(53.4% 0.153 259.1);
Tailwind
colors: {
  custom: {
    50: '#7d94d6',
    500: '#306ac4',
    950: '#000000',
  },
}
SCSS
$custom: #306ac4;
$custom-light: #7d94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306ac4",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 196
  },
  "hsl": {
    "h": 216.486,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.15323,
    "h": 259.1
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#306AC4
secondary
#CDB083
accent
#A544E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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