#30229B#30229B

#30229B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.183 H 277.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#30229B
RGBrgb(48, 34, 155)
HSLhsl(247, 64%, 37%)
HSVhsv(247, 78%, 61%)
CMYKcmyk(69%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.12, 43.45, -62.95)
CIE-LCHlch(24.12, 76.49, 304.62°)
OKLaboklab(36.5% 0.0236 -0.1819)
OKLCHoklch(36.5% 0.183 277.4)
XYZxyz(7.7054, 4.1383, 31.3967)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30229B #8D9B22
analogous
#22519B #30229B #6D229B
triadic
#30229B #9B3022 #229B30
tetradic
#30229B #9B2251 #8D9B22 #229B6D
square
#30229B #9B2251 #8D9B22 #229B6D
split-complementary
#30229B #9B6D22 #519B22
monochromatic
#110C37 #201769 #30229B #402DCD #6B5CDB

Accessibility & contrast

On white

11.49
#30229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30229B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30229B#FFFFFF#000000##FFFFFF
##30229B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30229b;
/* rgb */ color: rgb(48, 34, 155);
/* oklch */ color: oklch(36.5% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#7960ba',
    500: '#30229b',
    950: '#000000',
  },
}
SCSS
$custom: #30229b;
$custom-light: #7960ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30229b",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 246.942,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36498,
    "c": 0.18343,
    "h": 277.4
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#30229B
secondary
#B4C059
accent
#E741D4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30229B

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

Preview Lab → · Contrast checker → · Palette generator →

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