#305DC3#305DC3

#305DC3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.168 H 263.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#305DC3
RGBrgb(48, 93, 195)
HSLhsl(222, 60%, 48%)
HSVhsv(222, 75%, 76%)
CMYKcmyk(75.4%, 52.3%, 0%, 23.5%)
CIE-LABlab(41.84, 20.78, -57.83)
CIE-LCHlch(41.84, 61.45, 289.77°)
OKLaboklab(50.59% -0.0187 -0.1665)
OKLCHoklch(50.59% 0.168 263.6)
XYZxyz(14.9801, 12.3955, 53.2223)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DC3 #C39630
analogous
#30A6C3 #305DC3 #4D30C3
triadic
#305DC3 #C3305D #5DC330
tetradic
#305DC3 #C330A6 #C39630 #30C34D
square
#305DC3 #C330A6 #C39630 #30C34D
split-complementary
#305DC3 #C34D30 #A6C330
monochromatic
#182E61 #244692 #305DC3 #5A80D6 #8BA6E2

Accessibility & contrast

On white

6.04
#305DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#305DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DC3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DC3#FFFFFF#000000##FFFFFF
##305DC31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166AC7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #305dc3;
/* rgb */ color: rgb(48, 93, 195);
/* oklch */ color: oklch(50.6% 0.168 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d8ad6',
    500: '#305dc3',
    950: '#000000',
  },
}
SCSS
$custom: #305dc3;
$custom-light: #7d8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#305dc3",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 221.633,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.16752,
    "h": 263.6
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#305DC3
secondary
#CCB682
accent
#B344E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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