#30289E#30289E

#30289E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.181 H 276.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#30289E
RGBrgb(48, 40, 158)
HSLhsl(244, 60%, 39%)
HSVhsv(244, 75%, 62%)
CMYKcmyk(69.6%, 74.7%, 0%, 38%)
CIE-LABlab(25.60, 41.13, -62.34)
CIE-LCHlch(25.60, 74.69, 303.41°)
OKLaboklab(37.64% 0.0196 -0.1802)
OKLCHoklch(37.64% 0.181 276.2)
XYZxyz(8.1473, 4.6138, 32.8023)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30289E #969E28
analogous
#285B9E #30289E #6B289E
triadic
#30289E #9E3028 #289E30
tetradic
#30289E #9E285B #969E28 #289E6B
square
#30289E #9E285B #969E28 #289E6B
split-complementary
#30289E #9E6B28 #5B9E28
monochromatic
#120F3C #211C6D #30289E #4137CC #6F68D9

Accessibility & contrast

On white

10.92
#30289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#30289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30289E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30289E#FFFFFF#000000##FFFFFF
##30289E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30289e;
/* rgb */ color: rgb(48, 40, 158);
/* oklch */ color: oklch(37.6% 0.181 276.2);
Tailwind
colors: {
  custom: {
    50: '#7964bc',
    500: '#30289e',
    950: '#000000',
  },
}
SCSS
$custom: #30289e;
$custom-light: #7964bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30289e",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 244.068,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.18123,
    "h": 276.2
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#30289E
secondary
#B9BF63
accent
#E345D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30289E

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

Preview Lab → · Contrast checker → · Palette generator →

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