#306AC7#306AC7

#306AC7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.157 H 259.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#306AC7
RGBrgb(48, 106, 199)
HSLhsl(217, 61%, 48%)
HSVhsv(217, 76%, 78%)
CMYKcmyk(75.9%, 46.7%, 0%, 22%)
CIE-LABlab(45.71, 13.92, -53.88)
CIE-LCHlch(45.71, 55.65, 284.48°)
OKLaboklab(53.64% -0.0286 -0.1546)
OKLCHoklch(53.64% 0.157 259.5)
XYZxyz(16.6780, 15.0581, 56.0493)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AC7 #C78D30
analogous
#30B5C7 #306AC7 #4230C7
triadic
#306AC7 #C7306A #6AC730
tetradic
#306AC7 #C730B5 #C78D30 #30C742
square
#306AC7 #C730B5 #C78D30 #30C742
split-complementary
#306AC7 #C74230 #B5C730
monochromatic
#183564 #245096 #306AC7 #5C8CD8 #8EAFE4

Accessibility & contrast

On white

5.23
#306AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#306AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AC7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AC7#FFFFFF#000000##FFFFFF
##306AC71.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3874CA
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306ac7;
/* rgb */ color: rgb(48, 106, 199);
/* oklch */ color: oklch(53.6% 0.157 259.5);
Tailwind
colors: {
  custom: {
    50: '#7d94d8',
    500: '#306ac7',
    950: '#000000',
  },
}
SCSS
$custom: #306ac7;
$custom-light: #7d94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#306ac7",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 216.954,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.15726,
    "h": 259.5
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#306AC7
secondary
#CEB285
accent
#A744E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #306AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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