#305EC0#305EC0

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

Color values

HEX#305EC0
RGBrgb(48, 94, 192)
HSLhsl(221, 60%, 47%)
HSVhsv(221, 75%, 75%)
CMYKcmyk(75%, 51%, 0%, 24.7%)
CIE-LABlab(41.90, 19.00, -55.98)
CIE-LCHlch(41.90, 59.11, 288.75°)
OKLaboklab(50.57% -0.0198 -0.161)
OKLCHoklch(50.57% 0.162 263)
XYZxyz(14.7327, 12.4379, 51.4833)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305EC0 #C09230
analogous
#30A6C0 #305EC0 #4A30C0
triadic
#305EC0 #C0305E #5EC030
tetradic
#305EC0 #C030A6 #C09230 #30C04A
square
#305EC0 #C030A6 #C09230 #30C04A
split-complementary
#305EC0 #C04A30 #A6C030
monochromatic
#182E5E #24468F #305EC0 #5880D5 #89A5E1

Accessibility & contrast

On white

6.02
#305EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#305EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305EC0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305EC0#FFFFFF#000000##FFFFFF
##305EC01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206AC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #305ec0;
/* rgb */ color: rgb(48, 94, 192);
/* oklch */ color: oklch(50.6% 0.162 263.0);
Tailwind
colors: {
  custom: {
    50: '#7c8bd4',
    500: '#305ec0',
    950: '#000000',
  },
}
SCSS
$custom: #305ec0;
$custom-light: #7c8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#305ec0",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 220.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.16223,
    "h": 263
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#305EC0
secondary
#CBB380
accent
#B145E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #305EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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