#306CC0#306CC0

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

Color values

HEX#306CC0
RGBrgb(48, 108, 192)
HSLhsl(215, 60%, 47%)
HSVhsv(215, 75%, 75%)
CMYKcmyk(75%, 43.7%, 0%, 24.7%)
CIE-LABlab(45.85, 10.02, -49.63)
CIE-LCHlch(45.85, 50.63, 281.41°)
OKLaboklab(53.6% -0.0315 -0.1421)
OKLCHoklch(53.6% 0.146 257.5)
XYZxyz(16.0924, 15.1575, 51.9365)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306CC0 #C08430
analogous
#30B4C0 #306CC0 #3C30C0
triadic
#306CC0 #C0306C #6CC030
tetradic
#306CC0 #C030B4 #C08430 #30C03C
square
#306CC0 #C030B4 #C08430 #30C03C
split-complementary
#306CC0 #C03C30 #B4C030
monochromatic
#18355E #24508F #306CC0 #588CD5 #89AEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306CC0#FFFFFF#000000##FFFFFF
##306CC01.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)
#4274C3
Deuteranopia (green-blind)
#2666BE
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #306cc0;
/* rgb */ color: rgb(48, 108, 192);
/* oklch */ color: oklch(53.6% 0.146 257.5);
Tailwind
colors: {
  custom: {
    50: '#7c95d3',
    500: '#306cc0',
    950: '#000000',
  },
}
SCSS
$custom: #306cc0;
$custom-light: #7c95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#306cc0",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 192
  },
  "hsl": {
    "h": 215,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.14554,
    "h": 257.5
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#306CC0
secondary
#CBAC80
accent
#A145E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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