#306BC1#306BC1

#306BC1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.4% C 0.148 H 258.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#306BC1
RGBrgb(48, 107, 193)
HSLhsl(216, 60%, 47%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(75.1%, 44.6%, 0%, 24.3%)
CIE-LABlab(45.62, 11.03, -50.57)
CIE-LCHlch(45.62, 51.76, 282.30°)
OKLaboklab(53.45% -0.0305 -0.1449)
OKLCHoklch(53.45% 0.148 258.1)
XYZxyz(16.0987, 14.9922, 52.4871)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BC1 #C18630
analogous
#30B4C1 #306BC1 #3D30C1
triadic
#306BC1 #C1306B #6BC130
tetradic
#306BC1 #C130B4 #C18630 #30C13D
square
#306BC1 #C130B4 #C18630 #30C13D
split-complementary
#306BC1 #C13D30 #B4C130
monochromatic
#18355F #245090 #306BC1 #598BD6 #8AADE2

Accessibility & contrast

On white

5.25
#306BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#306BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BC1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BC1#FFFFFF#000000##FFFFFF
##306BC11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306bc1;
/* rgb */ color: rgb(48, 107, 193);
/* oklch */ color: oklch(53.4% 0.148 258.1);
Tailwind
colors: {
  custom: {
    50: '#7c94d4',
    500: '#306bc1',
    950: '#000000',
  },
}
SCSS
$custom: #306bc1;
$custom-light: #7c94d4;
$custom-dark: #000000;
JSON
{
  "hex": "#306bc1",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 215.586,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.14804,
    "h": 258.1
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#306BC1
secondary
#CCAD81
accent
#A344E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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