#302DA9#302DA9

#302DA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.190 H 274.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#302DA9
RGBrgb(48, 45, 169)
HSLhsl(241, 58%, 42%)
HSVhsv(241, 73%, 66%)
CMYKcmyk(71.6%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.76, 41.91, -65.45)
CIE-LCHlch(27.76, 77.72, 302.63°)
OKLaboklab(39.51% 0.0146 -0.1893)
OKLCHoklch(39.51% 0.19 274.4)
XYZxyz(9.3164, 5.3688, 38.0737)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302DA9 #A6A92D
analogous
#2D68A9 #302DA9 #6E2DA9
triadic
#302DA9 #A9302D #2DA930
tetradic
#302DA9 #A92D68 #A6A92D #2DA96E
square
#302DA9 #A92D68 #A6A92D #2DA96E
split-complementary
#302DA9 #A96E2D #68A92D
monochromatic
#151348 #222079 #302DA9 #4946CE #7876DA

Accessibility & contrast

On white

10.13
#302DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#302DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302DA9
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302DA9#FFFFFF#000000##FFFFFF
##302DA91.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #302da9;
/* rgb */ color: rgb(48, 45, 169);
/* oklch */ color: oklch(39.5% 0.190 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b67c4',
    500: '#302da9',
    950: '#000000',
  },
}
SCSS
$custom: #302da9;
$custom-light: #7b67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#302da9",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 241.452,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.18983,
    "h": 274.4
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#302DA9
secondary
#C0C26F
accent
#E147DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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