#30239D#30239D

#30239D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.185 H 277.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#30239D
RGBrgb(48, 35, 157)
HSLhsl(246, 64%, 38%)
HSVhsv(246, 78%, 62%)
CMYKcmyk(69.4%, 77.7%, 0%, 38.4%)
CIE-LABlab(24.53, 43.56, -63.51)
CIE-LCHlch(24.53, 77.01, 304.44°)
OKLaboklab(36.84% 0.0226 -0.1835)
OKLCHoklch(36.84% 0.185 277)
XYZxyz(7.9038, 4.2641, 32.2983)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30239D #909D23
analogous
#23539D #30239D #6D239D
triadic
#30239D #9D3023 #239D30
tetradic
#30239D #9D2353 #909D23 #239D6D
square
#30239D #9D2353 #909D23 #239D6D
split-complementary
#30239D #9D6D23 #539D23
monochromatic
#110D39 #21186B #30239D #3F2ECF #6C5FDB

Accessibility & contrast

On white

11.33
#30239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#30239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30239D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30239D#FFFFFF#000000##FFFFFF
##30239D1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.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: #30239d;
/* rgb */ color: rgb(48, 35, 157);
/* oklch */ color: oklch(36.8% 0.185 277.0);
Tailwind
colors: {
  custom: {
    50: '#7961bb',
    500: '#30239d',
    950: '#000000',
  },
}
SCSS
$custom: #30239d;
$custom-light: #7961bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30239d",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 246.393,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.18493,
    "h": 277
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#30239D
secondary
#B5C05C
accent
#E741D5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30239D

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

Preview Lab → · Contrast checker → · Palette generator →

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