#306AC9#306AC9

#306AC9 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.160 H 259.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#306AC9
RGBrgb(48, 106, 201)
HSLhsl(217, 61%, 49%)
HSVhsv(217, 76%, 79%)
CMYKcmyk(76.1%, 47.3%, 0%, 21.2%)
CIE-LABlab(45.84, 14.67, -54.83)
CIE-LCHlch(45.84, 56.76, 284.98°)
OKLaboklab(53.78% -0.0282 -0.1574)
OKLCHoklch(53.78% 0.16 259.8)
XYZxyz(16.9117, 15.1516, 57.2803)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306AC9 #C98F30
analogous
#30B7C9 #306AC9 #4330C9
triadic
#306AC9 #C9306A #6AC930
tetradic
#306AC9 #C930B7 #C98F30 #30C943
square
#306AC9 #C930B7 #C98F30 #30C943
split-complementary
#306AC9 #C94330 #B7C930
monochromatic
#183666 #245098 #306AC9 #5E8CD8 #8FAFE4

Accessibility & contrast

On white

5.21
#306AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#306AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306AC9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306AC9#FFFFFF#000000##FFFFFF
##306AC91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3674CD
Deuteranopia (green-blind)
#0666C7
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306ac9;
/* rgb */ color: rgb(48, 106, 201);
/* oklch */ color: oklch(53.8% 0.160 259.8);
Tailwind
colors: {
  custom: {
    50: '#7e94da',
    500: '#306ac9',
    950: '#000000',
  },
}
SCSS
$custom: #306ac9;
$custom-light: #7e94da;
$custom-dark: #000000;
JSON
{
  "hex": "#306ac9",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 201
  },
  "hsl": {
    "h": 217.255,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.15993,
    "h": 259.8
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#306AC9
secondary
#CFB386
accent
#A743E5
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #306AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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