#302B91#302B91

#302B91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.161 H 277.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#302B91
RGBrgb(48, 43, 145)
HSLhsl(243, 54%, 37%)
HSVhsv(243, 70%, 57%)
CMYKcmyk(66.9%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.95, 34.97, -55.44)
CIE-LCHlch(24.95, 65.54, 302.24°)
OKLaboklab(36.78% 0.0199 -0.16)
OKLCHoklch(36.78% 0.161 277.1)
XYZxyz(7.1920, 4.3999, 27.2528)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B91 #8C912B
analogous
#2B5991 #302B91 #632B91
triadic
#302B91 #91302B #2B9130
tetradic
#302B91 #912B59 #8C912B #2B9163
square
#302B91 #912B59 #8C912B #2B9163
split-complementary
#302B91 #91632B #59912B
monochromatic
#110F33 #201D62 #302B91 #4039C0 #6A65D1

Accessibility & contrast

On white

11.17
#302B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#302B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B91
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B91#FFFFFF#000000##FFFFFF
##302B911.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302b91;
/* rgb */ color: rgb(48, 43, 145);
/* oklch */ color: oklch(36.8% 0.161 277.1);
Tailwind
colors: {
  custom: {
    50: '#7665b2',
    500: '#302b91',
    950: '#000000',
  },
}
SCSS
$custom: #302b91;
$custom-light: #7665b2;
$custom-dark: #000000;
JSON
{
  "hex": "#302b91",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 242.941,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36779,
    "c": 0.16125,
    "h": 277.1
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#302B91
secondary
#B3B860
accent
#DE4AD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302B91

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

Preview Lab → · Contrast checker → · Palette generator →

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