#302EA9#302EA9

#302EA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.189 H 274.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#302EA9
RGBrgb(48, 46, 169)
HSLhsl(241, 57%, 42%)
HSVhsv(241, 73%, 66%)
CMYKcmyk(71.6%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.97, 41.33, -65.11)
CIE-LCHlch(27.97, 77.12, 302.41°)
OKLaboklab(39.66% 0.0141 -0.1883)
OKLCHoklch(39.66% 0.189 274.3)
XYZxyz(9.3550, 5.4460, 38.0866)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EA9 #A7A92E
analogous
#2E69A9 #302EA9 #6E2EA9
triadic
#302EA9 #A9302E #2EA930
tetradic
#302EA9 #A92E69 #A7A92E #2EA96E
square
#302EA9 #A92E69 #A7A92E #2EA96E
split-complementary
#302EA9 #A96E2E #69A92E
monochromatic
#151449 #222179 #302EA9 #4947CD #7977DA

Accessibility & contrast

On white

10.05
#302EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#302EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EA9
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EA9#FFFFFF#000000##FFFFFF
##302EA91.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302ea9;
/* rgb */ color: rgb(48, 46, 169);
/* oklch */ color: oklch(39.7% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b68c4',
    500: '#302ea9',
    950: '#000000',
  },
}
SCSS
$custom: #302ea9;
$custom-light: #7b68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#302ea9",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 240.976,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.1888,
    "h": 274.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#302EA9
secondary
#C1C271
accent
#E047DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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