#302489#302489

#302489 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.159 H 279.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#302489
RGBrgb(48, 36, 137)
HSLhsl(247, 58%, 34%)
HSVhsv(247, 74%, 54%)
CMYKcmyk(65%, 73.7%, 0%, 46.3%)
CIE-LABlab(22.64, 36.48, -54.26)
CIE-LCHlch(22.64, 65.39, 303.91°)
OKLaboklab(34.89% 0.0265 -0.1566)
OKLCHoklch(34.89% 0.159 279.6)
XYZxyz(6.3637, 3.6958, 24.0401)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302489 #7D8924
analogous
#244B89 #302489 #632489
triadic
#302489 #893024 #248930
tetradic
#302489 #89244B #7D8924 #248963
square
#302489 #89244B #7D8924 #248963
split-complementary
#302489 #896324 #4B8924
monochromatic
#0E0B28 #1F1759 #302489 #4131B9 #6455D2

Accessibility & contrast

On white

12.07
#302489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#302489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302489
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302489#FFFFFF#000000##FFFFFF
##3024891.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #302489;
/* rgb */ color: rgb(48, 36, 137);
/* oklch */ color: oklch(34.9% 0.159 279.6);
Tailwind
colors: {
  custom: {
    50: '#7460ac',
    500: '#302489',
    950: '#000000',
  },
}
SCSS
$custom: #302489;
$custom-light: #7460ac;
$custom-dark: #000000;
JSON
{
  "hex": "#302489",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 247.129,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34886,
    "c": 0.15879,
    "h": 279.6
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#302489
secondary
#ABB752
accent
#E246CF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #302489

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

Preview Lab → · Contrast checker → · Palette generator →

#302489 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva