#303AA9#303AA9

#303AA9 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.175 H 272.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#303AA9
RGBrgb(48, 58, 169)
HSLhsl(235, 56%, 43%)
HSVhsv(235, 72%, 66%)
CMYKcmyk(71.6%, 65.7%, 0%, 33.7%)
CIE-LABlab(30.68, 33.96, -60.65)
CIE-LCHlch(30.68, 69.51, 299.25°)
OKLaboklab(41.62% 0.0066 -0.1752)
OKLCHoklch(41.62% 0.175 272.1)
XYZxyz(9.8910, 6.5181, 38.2653)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303AA9 #A99F30
analogous
#3077A9 #303AA9 #6230A9
triadic
#303AA9 #A9303A #3AA930
tetradic
#303AA9 #A93077 #A99F30 #30A962
square
#303AA9 #A93077 #A99F30 #30A962
split-complementary
#303AA9 #A96230 #77A930
monochromatic
#15194A #222A79 #303AA9 #4A55CC #7A82D9

Accessibility & contrast

On white

9.12
#303AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#303AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303AA9
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303AA9#FFFFFF#000000##FFFFFF
##303AA91.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #303aa9;
/* rgb */ color: rgb(48, 58, 169);
/* oklch */ color: oklch(41.6% 0.175 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a70c4',
    500: '#303aa9',
    950: '#000000',
  },
}
SCSS
$custom: #303aa9;
$custom-light: #7a70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#303aa9",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 235.041,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.17535,
    "h": 272.1
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#303AA9
secondary
#C2BB73
accent
#D349DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #303AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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