#303DB1#303DB1

#303DB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.182 H 271.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#303DB1
RGBrgb(48, 61, 177)
HSLhsl(234, 57%, 44%)
HSVhsv(234, 73%, 69%)
CMYKcmyk(72.9%, 65.5%, 0%, 30.6%)
CIE-LABlab(32.12, 34.91, -63.07)
CIE-LCHlch(32.12, 72.09, 298.96°)
OKLaboklab(42.89% 0.004 -0.1823)
OKLCHoklch(42.89% 0.182 271.3)
XYZxyz(10.8208, 7.1391, 42.3942)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DB1 #B1A430
analogous
#307EB1 #303DB1 #6330B1
triadic
#303DB1 #B1303D #3DB130
tetradic
#303DB1 #B1307E #B1A430 #30B163
square
#303DB1 #B1307E #B1A430 #30B163
split-complementary
#303DB1 #B16330 #7EB130
monochromatic
#161C51 #232C81 #303DB1 #4F5CCF #7F88DC

Accessibility & contrast

On white

8.65
#303DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#303DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DB1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DB1#FFFFFF#000000##FFFFFF
##303DB11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303db1;
/* rgb */ color: rgb(48, 61, 177);
/* oklch */ color: oklch(42.9% 0.182 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b72c9',
    500: '#303db1',
    950: '#000000',
  },
}
SCSS
$custom: #303db1;
$custom-light: #7b72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#303db1",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 233.953,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.18235,
    "h": 271.3
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#303DB1
secondary
#C5BD78
accent
#D147E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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