#30289C#30289C

#30289C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.179 H 276.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#30289C
RGBrgb(48, 40, 156)
HSLhsl(244, 59%, 38%)
HSVhsv(244, 74%, 61%)
CMYKcmyk(69.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(25.40, 40.47, -61.46)
CIE-LCHlch(25.40, 73.59, 303.36°)
OKLaboklab(37.43% 0.02 -0.1776)
OKLCHoklch(37.43% 0.179 276.4)
XYZxyz(7.9765, 4.5455, 31.9031)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30289C #949C28
analogous
#285A9C #30289C #6A289C
triadic
#30289C #9C3028 #289C30
tetradic
#30289C #9C285A #949C28 #289C6A
square
#30289C #9C285A #949C28 #289C6A
split-complementary
#30289C #9C6A28 #5A9C28
monochromatic
#120F3B #211C6B #30289C #4036CB #6E67D8

Accessibility & contrast

On white

11.00
#30289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#30289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30289C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30289C#FFFFFF#000000##FFFFFF
##30289C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30289c;
/* rgb */ color: rgb(48, 40, 156);
/* oklch */ color: oklch(37.4% 0.179 276.4);
Tailwind
colors: {
  custom: {
    50: '#7864ba',
    500: '#30289c',
    950: '#000000',
  },
}
SCSS
$custom: #30289c;
$custom-light: #7864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30289c",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 244.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37429,
    "c": 0.17872,
    "h": 276.4
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#30289C
secondary
#B8BE62
accent
#E245D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30289C

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

Preview Lab → · Contrast checker → · Palette generator →

#30289C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva