#30289F#30289F

#30289F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.182 H 276.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#30289F
RGBrgb(48, 40, 159)
HSLhsl(244, 60%, 39%)
HSVhsv(244, 75%, 62%)
CMYKcmyk(69.8%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.71, 41.46, -62.78)
CIE-LCHlch(25.71, 75.23, 303.44°)
OKLaboklab(37.74% 0.0194 -0.1814)
OKLCHoklch(37.74% 0.182 276.1)
XYZxyz(8.2337, 4.6484, 33.2575)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30289F #979F28
analogous
#285C9F #30289F #6C289F
triadic
#30289F #9F3028 #289F30
tetradic
#30289F #9F285C #979F28 #289F6C
square
#30289F #9F285C #979F28 #289F6C
split-complementary
#30289F #9F6C28 #5C9F28
monochromatic
#120F3D #211C6E #30289F #4137CD #7068D9

Accessibility & contrast

On white

10.88
#30289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#30289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30289F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30289F#FFFFFF#000000##FFFFFF
##30289F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30289f;
/* rgb */ color: rgb(48, 40, 159);
/* oklch */ color: oklch(37.7% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#7964bd',
    500: '#30289f',
    950: '#000000',
  },
}
SCSS
$custom: #30289f;
$custom-light: #7964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30289f",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 244.034,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.18248,
    "h": 276.1
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30289F

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

Preview Lab → · Contrast checker → · Palette generator →

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