#302B89#302B89

#302B89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.151 H 278.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#302B89
RGBrgb(48, 43, 137)
HSLhsl(243, 52%, 35%)
HSVhsv(243, 69%, 54%)
CMYKcmyk(65%, 68.6%, 0%, 46.3%)
CIE-LABlab(24.20, 32.21, -51.70)
CIE-LCHlch(24.20, 60.91, 301.92°)
OKLaboklab(36.01% 0.0211 -0.1491)
OKLCHoklch(36.01% 0.151 278)
XYZxyz(6.5967, 4.1617, 24.1177)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B89 #84892B
analogous
#2B5589 #302B89 #5F2B89
triadic
#302B89 #89302B #2B8930
tetradic
#302B89 #892B55 #84892B #2B895F
square
#302B89 #892B55 #84892B #2B895F
split-complementary
#302B89 #895F2B #55892B
monochromatic
#0F0E2C #201C5A #302B89 #403AB8 #6761CD

Accessibility & contrast

On white

11.46
#302B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#302B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B89
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B89#FFFFFF#000000##FFFFFF
##302B891.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302b89;
/* rgb */ color: rgb(48, 43, 137);
/* oklch */ color: oklch(36.0% 0.151 278.0);
Tailwind
colors: {
  custom: {
    50: '#7465ac',
    500: '#302b89',
    950: '#000000',
  },
}
SCSS
$custom: #302b89;
$custom-light: #7465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#302b89",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 243.191,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36006,
    "c": 0.15055,
    "h": 278
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#302B89
secondary
#AFB35C
accent
#DC4CD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302B89

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

Preview Lab → · Contrast checker → · Palette generator →

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