#306BC3#306BC3

#306BC3 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.6% C 0.151 H 258.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#306BC3
RGBrgb(48, 107, 195)
HSLhsl(216, 60%, 48%)
HSVhsv(216, 75%, 76%)
CMYKcmyk(75.4%, 45.1%, 0%, 23.5%)
CIE-LABlab(45.75, 11.78, -51.53)
CIE-LCHlch(45.75, 52.86, 282.87°)
OKLaboklab(53.58% -0.0301 -0.1477)
OKLCHoklch(53.58% 0.151 258.5)
XYZxyz(16.3233, 15.0820, 53.6700)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306BC3 #C38830
analogous
#30B5C3 #306BC3 #3E30C3
triadic
#306BC3 #C3306B #6BC330
tetradic
#306BC3 #C330B5 #C38830 #30C33E
square
#306BC3 #C330B5 #C38830 #30C33E
split-complementary
#306BC3 #C33E30 #B5C330
monochromatic
#183561 #245092 #306BC3 #5A8CD6 #8BAEE2

Accessibility & contrast

On white

5.23
#306BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#306BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306BC3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306BC3#FFFFFF#000000##FFFFFF
##306BC31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C6
Deuteranopia (green-blind)
#1E66C1
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #306bc3;
/* rgb */ color: rgb(48, 107, 195);
/* oklch */ color: oklch(53.6% 0.151 258.5);
Tailwind
colors: {
  custom: {
    50: '#7c94d6',
    500: '#306bc3',
    950: '#000000',
  },
}
SCSS
$custom: #306bc3;
$custom-light: #7c94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306bc3",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 215.918,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.15072,
    "h": 258.5
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#306BC3
secondary
#CCAF82
accent
#A444E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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