#30239B#30239B

#30239B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.182 H 277.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#30239B
RGBrgb(48, 35, 155)
HSLhsl(247, 63%, 37%)
HSVhsv(247, 77%, 61%)
CMYKcmyk(69%, 77.4%, 0%, 39.2%)
CIE-LABlab(24.31, 42.92, -62.64)
CIE-LCHlch(24.31, 75.94, 304.42°)
OKLaboklab(36.63% 0.0231 -0.181)
OKLCHoklch(36.63% 0.182 277.3)
XYZxyz(7.7344, 4.1963, 31.4064)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30239B #8E9B23
analogous
#23529B #30239B #6C239B
triadic
#30239B #9B3023 #239B30
tetradic
#30239B #9B2352 #8E9B23 #239B6C
square
#30239B #9B2352 #8E9B23 #239B6C
split-complementary
#30239B #9B6C23 #529B23
monochromatic
#110C37 #211869 #30239B #3F2ECD #6B5EDB

Accessibility & contrast

On white

11.42
#30239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30239B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30239B#FFFFFF#000000##FFFFFF
##30239B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30239b;
/* rgb */ color: rgb(48, 35, 155);
/* oklch */ color: oklch(36.6% 0.182 277.3);
Tailwind
colors: {
  custom: {
    50: '#7861ba',
    500: '#30239b',
    950: '#000000',
  },
}
SCSS
$custom: #30239b;
$custom-light: #7861ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30239b",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 246.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.18248,
    "h": 277.3
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#30239B
secondary
#B4BF5A
accent
#E642D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30239B

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

Preview Lab → · Contrast checker → · Palette generator →

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