#30288F#30288F

#30288F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.162 H 278.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#30288F
RGBrgb(48, 40, 143)
HSLhsl(245, 56%, 36%)
HSVhsv(245, 72%, 56%)
CMYKcmyk(66.4%, 72%, 0%, 43.9%)
CIE-LABlab(24.09, 36.11, -55.61)
CIE-LCHlch(24.09, 66.31, 303.00°)
OKLaboklab(36.1% 0.0225 -0.1605)
OKLCHoklch(36.1% 0.162 278)
XYZxyz(6.9340, 4.1286, 26.4128)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30288F #878F28
analogous
#28538F #30288F #63288F
triadic
#30288F #8F3028 #288F30
tetradic
#30288F #8F2853 #878F28 #288F63
square
#30288F #8F2853 #878F28 #288F63
split-complementary
#30288F #8F6328 #538F28
monochromatic
#100D2F #201B5F #30288F #4035BF #685FD2

Accessibility & contrast

On white

11.50
#30288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30288F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30288F#FFFFFF#000000##FFFFFF
##30288F1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30288f;
/* rgb */ color: rgb(48, 40, 143);
/* oklch */ color: oklch(36.1% 0.162 278.0);
Tailwind
colors: {
  custom: {
    50: '#7563b1',
    500: '#30288f',
    950: '#000000',
  },
}
SCSS
$custom: #30288f;
$custom-light: #7563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#30288f",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 244.66,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.16208,
    "h": 278
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#30288F
secondary
#B1B85B
accent
#E048D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #30288F

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

Preview Lab → · Contrast checker → · Palette generator →

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