#30286B#30286B

#30286B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.112 H 283.7°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#30286B
RGBrgb(48, 40, 107)
HSLhsl(247, 46%, 29%)
HSVhsv(247, 63%, 42%)
CMYKcmyk(55.1%, 62.6%, 0%, 58%)
CIE-LABlab(20.86, 23.76, -38.08)
CIE-LCHlch(20.86, 44.88, 301.96°)
OKLaboklab(32.76% 0.0266 -0.1091)
OKLCHoklch(32.76% 0.112 283.7)
XYZxyz(4.6308, 3.2072, 14.2821)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30286B #636B28
analogous
#28426B #30286B #52286B
triadic
#30286B #6B3028 #286B30
tetradic
#30286B #6B2842 #636B28 #286B52
square
#30286B #6B2842 #636B28 #286B52
split-complementary
#30286B #6B5228 #426B28
monochromatic
#0A0816 #1C173E #30286B #443998 #5D50BE

Accessibility & contrast

On white

12.79
#30286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30286B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30286B#FFFFFF#000000##FFFFFF
##30286B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#183845
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #30286b;
/* rgb */ color: rgb(48, 40, 107);
/* oklch */ color: oklch(32.8% 0.112 283.7);
Tailwind
colors: {
  custom: {
    50: '#6e6296',
    500: '#30286b',
    950: '#000000',
  },
}
SCSS
$custom: #30286b;
$custom-light: #6e6296;
$custom-dark: #000000;
JSON
{
  "hex": "#30286b",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 247.164,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32755,
    "c": 0.11227,
    "h": 283.7
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#30286B
secondary
#949D51
accent
#D553C6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #30286B

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

Preview Lab → · Contrast checker → · Palette generator →

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