#306CC1#306CC1

#306CC1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.147 H 257.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#306CC1
RGBrgb(48, 108, 193)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(75.1%, 44%, 0%, 24.3%)
CIE-LABlab(45.91, 10.39, -50.11)
CIE-LCHlch(45.91, 51.18, 281.72°)
OKLaboklab(53.67% -0.0313 -0.1435)
OKLCHoklch(53.67% 0.147 257.7)
XYZxyz(16.2036, 15.2019, 52.5220)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC1 #C18530
analogous
#30B5C1 #306CC1 #3C30C1
triadic
#306CC1 #C1306C #6CC130
tetradic
#306CC1 #C130B5 #C18530 #30C13C
square
#306CC1 #C130B5 #C18530 #30C13C
split-complementary
#306CC1 #C13C30 #B5C130
monochromatic
#18355F #245190 #306CC1 #598CD6 #8AAEE2

Accessibility & contrast

On white

5.20
#306CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#306CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306CC1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306CC1#FFFFFF#000000##FFFFFF
##306CC11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4174C4
Deuteranopia (green-blind)
#2567BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306cc1;
/* rgb */ color: rgb(48, 108, 193);
/* oklch */ color: oklch(53.7% 0.147 257.7);
Tailwind
colors: {
  custom: {
    50: '#7c95d4',
    500: '#306cc1',
    950: '#000000',
  },
}
SCSS
$custom: #306cc1;
$custom-light: #7c95d4;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc1",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 215.172,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.14689,
    "h": 257.7
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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