#303CB9#303CB9

#303CB9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.194 H 271.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#303CB9
RGBrgb(48, 60, 185)
HSLhsl(235, 59%, 46%)
HSVhsv(235, 74%, 73%)
CMYKcmyk(74.1%, 67.6%, 0%, 27.5%)
CIE-LABlab(32.62, 38.38, -67.01)
CIE-LCHlch(32.62, 77.22, 299.80°)
OKLaboklab(43.47% 0.0039 -0.1938)
OKLCHoklch(43.47% 0.194 271.2)
XYZxyz(11.5888, 7.3617, 46.6997)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303CB9 #B9AD30
analogous
#3080B9 #303CB9 #6930B9
triadic
#303CB9 #B9303C #3CB930
tetradic
#303CB9 #B93080 #B9AD30 #30B969
square
#303CB9 #B93080 #B9AD30 #30B969
split-complementary
#303CB9 #B96930 #80B930
monochromatic
#171C58 #232C88 #303CB9 #545FD3 #848CDF

Accessibility & contrast

On white

8.49
#303CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#303CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303CB9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303CB9#FFFFFF#000000##FFFFFF
##303CB91.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303cb9;
/* rgb */ color: rgb(48, 60, 185);
/* oklch */ color: oklch(43.5% 0.194 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d72cf',
    500: '#303cb9',
    950: '#000000',
  },
}
SCSS
$custom: #303cb9;
$custom-light: #7d72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#303cb9",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 234.745,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.19386,
    "h": 271.2
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#303CB9
secondary
#C9C27C
accent
#D446E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #303CB9

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

Preview Lab → · Contrast checker → · Palette generator →

#303CB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva