#303DA9#303DA9

#303DA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.172 H 271.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#303DA9
RGBrgb(48, 61, 169)
HSLhsl(234, 56%, 43%)
HSVhsv(234, 72%, 66%)
CMYKcmyk(71.6%, 63.9%, 0%, 33.7%)
CIE-LABlab(31.42, 32.03, -59.45)
CIE-LCHlch(31.42, 67.53, 298.32°)
OKLaboklab(42.15% 0.0045 -0.1717)
OKLCHoklch(42.15% 0.172 271.5)
XYZxyz(10.0467, 6.8294, 38.3172)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DA9 #A99C30
analogous
#3079A9 #303DA9 #6030A9
triadic
#303DA9 #A9303D #3DA930
tetradic
#303DA9 #A93079 #A99C30 #30A960
square
#303DA9 #A93079 #A99C30 #30A960
split-complementary
#303DA9 #A96030 #79A930
monochromatic
#151B4A #222C79 #303DA9 #4A58CC #7A84D9

Accessibility & contrast

On white

8.88
#303DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#303DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DA9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DA9#FFFFFF#000000##FFFFFF
##303DA91.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #303da9;
/* rgb */ color: rgb(48, 61, 169);
/* oklch */ color: oklch(42.2% 0.172 271.5);
Tailwind
colors: {
  custom: {
    50: '#7972c4',
    500: '#303da9',
    950: '#000000',
  },
}
SCSS
$custom: #303da9;
$custom-light: #7972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#303da9",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 233.554,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.17176,
    "h": 271.5
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#303DA9
secondary
#C2B973
accent
#CF49DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #303DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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