#306FC1#306FC1

#306FC1 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.3% C 0.143 H 256.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#306FC1
RGBrgb(48, 111, 193)
HSLhsl(214, 60%, 47%)
HSVhsv(214, 75%, 76%)
CMYKcmyk(75.1%, 42.5%, 0%, 24.3%)
CIE-LABlab(46.77, 8.50, -48.73)
CIE-LCHlch(46.77, 49.47, 279.90°)
OKLaboklab(54.34% -0.0339 -0.1394)
OKLCHoklch(54.34% 0.143 256.3)
XYZxyz(16.5255, 15.8456, 52.6293)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306FC1 #C18230
analogous
#30B8C1 #306FC1 #3A30C1
triadic
#306FC1 #C1306F #6FC130
tetradic
#306FC1 #C130B8 #C18230 #30C13A
square
#306FC1 #C130B8 #C18230 #30C13A
split-complementary
#306FC1 #C13A30 #B8C130
monochromatic
#18375F #245390 #306FC1 #598FD6 #8AB0E2

Accessibility & contrast

On white

5.04
#306FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#306FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306FC1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306FC1#FFFFFF#000000##FFFFFF
##306FC11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4776C4
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #306fc1;
/* rgb */ color: rgb(48, 111, 193);
/* oklch */ color: oklch(54.3% 0.143 256.3);
Tailwind
colors: {
  custom: {
    50: '#7c97d4',
    500: '#306fc1',
    950: '#000000',
  },
}
SCSS
$custom: #306fc1;
$custom-light: #7c97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#306fc1",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 193
  },
  "hsl": {
    "h": 213.931,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54337,
    "c": 0.14347,
    "h": 256.3
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#306FC1
secondary
#CCAB81
accent
#9E44E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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