#30286A#30286A

#30286A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.111 H 283.9°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#30286A
RGBrgb(48, 40, 106)
HSLhsl(247, 45%, 29%)
HSVhsv(247, 62%, 42%)
CMYKcmyk(54.7%, 62.3%, 0%, 58.4%)
CIE-LABlab(20.78, 23.41, -37.56)
CIE-LCHlch(20.78, 44.26, 301.94°)
OKLaboklab(32.67% 0.0267 -0.1075)
OKLCHoklch(32.67% 0.111 283.9)
XYZxyz(4.5784, 3.1863, 14.0066)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30286A #626A28
analogous
#28416A #30286A #51286A
triadic
#30286A #6A3028 #286A30
tetradic
#30286A #6A2841 #626A28 #286A51
square
#30286A #6A2841 #626A28 #286A51
split-complementary
#30286A #6A5128 #416A28
monochromatic
#0A0816 #1C173E #30286A #443996 #5D50BD

Accessibility & contrast

On white

12.83
#30286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#30286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30286A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30286A#FFFFFF#000000##FFFFFF
##30286A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#193744
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #30286a;
/* rgb */ color: rgb(48, 40, 106);
/* oklch */ color: oklch(32.7% 0.111 283.9);
Tailwind
colors: {
  custom: {
    50: '#6e6295',
    500: '#30286a',
    950: '#000000',
  },
}
SCSS
$custom: #30286a;
$custom-light: #6e6295;
$custom-dark: #000000;
JSON
{
  "hex": "#30286a",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 247.273,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32671,
    "c": 0.1108,
    "h": 283.9
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#30286A
secondary
#939D51
accent
#D553C5
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #30286A

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

Preview Lab → · Contrast checker → · Palette generator →

#30286A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva