#30238D#30238D

#30238D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.165 H 279.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#30238D
RGBrgb(48, 35, 141)
HSLhsl(247, 60%, 35%)
HSVhsv(247, 75%, 55%)
CMYKcmyk(66%, 75.2%, 0%, 44.7%)
CIE-LABlab(22.84, 38.38, -56.43)
CIE-LCHlch(22.84, 68.25, 304.22°)
OKLaboklab(35.15% 0.0264 -0.1629)
OKLCHoklch(35.15% 0.165 279.2)
XYZxyz(6.6261, 3.7530, 25.5694)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30238D #808D23
analogous
#234B8D #30238D #65238D
triadic
#30238D #8D3023 #238D30
tetradic
#30238D #8D234B #808D23 #238D65
square
#30238D #8D234B #808D23 #238D65
split-complementary
#30238D #8D6523 #4B8D23
monochromatic
#0F0B2B #1F175C #30238D #412FBE #6555D5

Accessibility & contrast

On white

11.99
#30238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#30238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30238D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30238D#FFFFFF#000000##FFFFFF
##30238D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #30238d;
/* rgb */ color: rgb(48, 35, 141);
/* oklch */ color: oklch(35.1% 0.165 279.2);
Tailwind
colors: {
  custom: {
    50: '#7560af',
    500: '#30238d',
    950: '#000000',
  },
}
SCSS
$custom: #30238d;
$custom-light: #7560af;
$custom-dark: #000000;
JSON
{
  "hex": "#30238d",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 247.358,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.16501,
    "h": 279.2
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#30238D
secondary
#ACB953
accent
#E344D0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #30238D

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

Preview Lab → · Contrast checker → · Palette generator →

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