#303DB9#303DB9

#303DB9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.193 H 271.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#303DB9
RGBrgb(48, 61, 185)
HSLhsl(234, 59%, 46%)
HSVhsv(234, 74%, 73%)
CMYKcmyk(74.1%, 67%, 0%, 27.5%)
CIE-LABlab(32.85, 37.76, -66.63)
CIE-LCHlch(32.85, 76.58, 299.54°)
OKLaboklab(43.64% 0.0034 -0.1927)
OKLCHoklch(43.64% 0.193 271)
XYZxyz(11.6416, 7.4674, 46.7174)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DB9 #B9AC30
analogous
#3081B9 #303DB9 #6830B9
triadic
#303DB9 #B9303D #3DB930
tetradic
#303DB9 #B93081 #B9AC30 #30B968
square
#303DB9 #B93081 #B9AC30 #30B968
split-complementary
#303DB9 #B96830 #81B930
monochromatic
#171D58 #232D88 #303DB9 #5460D3 #848DDF

Accessibility & contrast

On white

8.42
#303DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#303DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DB9
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DB9#FFFFFF#000000##FFFFFF
##303DB91.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303db9;
/* rgb */ color: rgb(48, 61, 185);
/* oklch */ color: oklch(43.6% 0.193 271.0);
Tailwind
colors: {
  custom: {
    50: '#7d73cf',
    500: '#303db9',
    950: '#000000',
  },
}
SCSS
$custom: #303db9;
$custom-light: #7d73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#303db9",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 234.307,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.19273,
    "h": 271
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#303DB9
secondary
#C9C17C
accent
#D346E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #303DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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