#303EA9#303EA9

#303EA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.171 H 271.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#303EA9
RGBrgb(48, 62, 169)
HSLhsl(233, 56%, 43%)
HSVhsv(233, 72%, 66%)
CMYKcmyk(71.6%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.66, 31.39, -59.05)
CIE-LCHlch(31.66, 66.87, 297.99°)
OKLaboklab(42.34% 0.0037 -0.1705)
OKLCHoklch(42.34% 0.171 271.3)
XYZxyz(10.1006, 6.9372, 38.3351)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303EA9 #A99B30
analogous
#307AA9 #303EA9 #5F30A9
triadic
#303EA9 #A9303E #3EA930
tetradic
#303EA9 #A9307A #A99B30 #30A95F
square
#303EA9 #A9307A #A99B30 #30A95F
split-complementary
#303EA9 #A95F30 #7AA930
monochromatic
#151B4A #222D79 #303EA9 #4A59CC #7A85D9

Accessibility & contrast

On white

8.80
#303EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#303EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303EA9
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303EA9#FFFFFF#000000##FFFFFF
##303EA91.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #303ea9;
/* rgb */ color: rgb(48, 62, 169);
/* oklch */ color: oklch(42.3% 0.171 271.3);
Tailwind
colors: {
  custom: {
    50: '#7973c3',
    500: '#303ea9',
    950: '#000000',
  },
}
SCSS
$custom: #303ea9;
$custom-light: #7973c3;
$custom-dark: #000000;
JSON
{
  "hex": "#303ea9",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 233.058,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.17054,
    "h": 271.3
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#303EA9
secondary
#C2B973
accent
#CE49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #303EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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