#305CC3#305CC3

#305CC3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.169 H 263.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#305CC3
RGBrgb(48, 92, 195)
HSLhsl(222, 60%, 48%)
HSVhsv(222, 75%, 76%)
CMYKcmyk(75.4%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.57, 21.43, -58.27)
CIE-LCHlch(41.57, 62.08, 290.19°)
OKLaboklab(50.38% -0.0179 -0.1678)
OKLCHoklch(50.38% 0.169 263.9)
XYZxyz(14.8929, 12.2211, 53.1932)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305CC3 #C39730
analogous
#30A5C3 #305CC3 #4E30C3
triadic
#305CC3 #C3305C #5CC330
tetradic
#305CC3 #C330A5 #C39730 #30C34E
square
#305CC3 #C330A5 #C39730 #30C34E
split-complementary
#305CC3 #C34E30 #A5C330
monochromatic
#182E61 #244592 #305CC3 #5A7FD6 #8BA5E2

Accessibility & contrast

On white

6.10
#305CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#305CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305CC3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305CC3#FFFFFF#000000##FFFFFF
##305CC31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1069C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #305cc3;
/* rgb */ color: rgb(48, 92, 195);
/* oklch */ color: oklch(50.4% 0.169 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d89d6',
    500: '#305cc3',
    950: '#000000',
  },
}
SCSS
$custom: #305cc3;
$custom-light: #7d89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#305cc3",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 222.041,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.16874,
    "h": 263.9
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #305CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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