#302E89#302E89

#302E89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.147 H 277.2°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#302E89
RGBrgb(48, 46, 137)
HSLhsl(241, 50%, 36%)
HSVhsv(241, 66%, 54%)
CMYKcmyk(65%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.91, 30.29, -50.53)
CIE-LCHlch(24.91, 58.91, 300.94°)
OKLaboklab(36.53% 0.0185 -0.1456)
OKLCHoklch(36.53% 0.147 277.2)
XYZxyz(6.7098, 4.3880, 24.1554)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E89 #87892E
analogous
#2E5989 #302E89 #5D2E89
triadic
#302E89 #89302E #2E8930
tetradic
#302E89 #892E59 #87892E #2E895D
square
#302E89 #892E59 #87892E #2E895D
split-complementary
#302E89 #895D2E #59892E
monochromatic
#100F2D #201F5B #302E89 #403DB7 #6866CC

Accessibility & contrast

On white

11.18
#302E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302E89
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E89#FFFFFF#000000##FFFFFF
##302E891.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302e89;
/* rgb */ color: rgb(48, 46, 137);
/* oklch */ color: oklch(36.5% 0.147 277.2);
Tailwind
colors: {
  custom: {
    50: '#7467ac',
    500: '#302e89',
    950: '#000000',
  },
}
SCSS
$custom: #302e89;
$custom-light: #7467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#302e89",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 241.319,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36525,
    "c": 0.1468,
    "h": 277.2
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#302E89
secondary
#B1B260
accent
#D94FD6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302E89

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

Preview Lab → · Contrast checker → · Palette generator →

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