#303DB3#303DB3

#303DB3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.185 H 271.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#303DB3
RGBrgb(48, 61, 179)
HSLhsl(234, 58%, 45%)
HSVhsv(234, 73%, 70%)
CMYKcmyk(73.2%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.30, 35.63, -63.97)
CIE-LCHlch(32.30, 73.22, 299.12°)
OKLaboklab(43.08% 0.0038 -0.1849)
OKLCHoklch(43.08% 0.185 271.2)
XYZxyz(11.0216, 7.2194, 43.4517)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DB3 #B3A630
analogous
#307FB3 #303DB3 #6530B3
triadic
#303DB3 #B3303D #3DB330
tetradic
#303DB3 #B3307F #B3A630 #30B365
square
#303DB3 #B3307F #B3A630 #30B365
split-complementary
#303DB3 #B36530 #7FB330
monochromatic
#161C52 #232D83 #303DB3 #505DD0 #808ADD

Accessibility & contrast

On white

8.59
#303DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#303DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DB3
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DB3#FFFFFF#000000##FFFFFF
##303DB31.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #303db3;
/* rgb */ color: rgb(48, 61, 179);
/* oklch */ color: oklch(43.1% 0.185 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c72cb',
    500: '#303db3',
    950: '#000000',
  },
}
SCSS
$custom: #303db3;
$custom-light: #7c72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#303db3",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 234.046,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43075,
    "c": 0.18497,
    "h": 271.2
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#303DB3
secondary
#C6BE79
accent
#D247E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #303DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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