#30229D#30229D

#30229D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.186 H 277.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#30229D
RGBrgb(48, 34, 157)
HSLhsl(247, 64%, 37%)
HSVhsv(247, 78%, 62%)
CMYKcmyk(69.4%, 78.3%, 0%, 38.4%)
CIE-LABlab(24.34, 44.09, -63.82)
CIE-LCHlch(24.34, 77.56, 304.64°)
OKLaboklab(36.71% 0.0231 -0.1844)
OKLCHoklch(36.71% 0.186 277.1)
XYZxyz(7.8748, 4.2061, 32.2886)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30229D #8F9D22
analogous
#22529D #30229D #6D229D
triadic
#30229D #9D3022 #229D30
tetradic
#30229D #9D2252 #8F9D22 #229D6D
square
#30229D #9D2252 #8F9D22 #229D6D
split-complementary
#30229D #9D6D22 #529D22
monochromatic
#110C38 #21176B #30229D #3F2DCF #6C5DDC

Accessibility & contrast

On white

11.40
#30229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30229D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30229D#FFFFFF#000000##FFFFFF
##30229D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30229d;
/* rgb */ color: rgb(48, 34, 157);
/* oklch */ color: oklch(36.7% 0.186 277.1);
Tailwind
colors: {
  custom: {
    50: '#7960bb',
    500: '#30229d',
    950: '#000000',
  },
}
SCSS
$custom: #30229d;
$custom-light: #7960bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30229d",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 246.829,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.18585,
    "h": 277.1
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#30229D
secondary
#B5C15A
accent
#E740D4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30229D

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

Preview Lab → · Contrast checker → · Palette generator →

#30229D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva