#306DC3#306DC3

#306DC3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.148 H 257.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#306DC3
RGBrgb(48, 109, 195)
HSLhsl(215, 60%, 48%)
HSVhsv(215, 75%, 76%)
CMYKcmyk(75.4%, 44.1%, 0%, 23.5%)
CIE-LABlab(46.32, 10.51, -50.61)
CIE-LCHlch(46.32, 51.69, 281.73°)
OKLaboklab(54.02% -0.0318 -0.145)
OKLCHoklch(54.02% 0.148 257.6)
XYZxyz(16.5343, 15.5039, 53.7403)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306DC3 #C38630
analogous
#30B7C3 #306DC3 #3C30C3
triadic
#306DC3 #C3306D #6DC330
tetradic
#306DC3 #C330B7 #C38630 #30C33C
square
#306DC3 #C330B7 #C38630 #30C33C
split-complementary
#306DC3 #C33C30 #B7C330
monochromatic
#183661 #245292 #306DC3 #5A8ED6 #8BAFE2

Accessibility & contrast

On white

5.12
#306DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#306DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306DC3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306DC3#FFFFFF#000000##FFFFFF
##306DC31.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#2467C1
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #306dc3;
/* rgb */ color: rgb(48, 109, 195);
/* oklch */ color: oklch(54.0% 0.148 257.6);
Tailwind
colors: {
  custom: {
    50: '#7c96d6',
    500: '#306dc3',
    950: '#000000',
  },
}
SCSS
$custom: #306dc3;
$custom-light: #7c96d6;
$custom-dark: #000000;
JSON
{
  "hex": "#306dc3",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 195
  },
  "hsl": {
    "h": 215.102,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.14841,
    "h": 257.6
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#306DC3
secondary
#CCAE82
accent
#A144E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #306DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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