#30239F#30239F

#30239F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.187 H 276.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#30239F
RGBrgb(48, 35, 159)
HSLhsl(246, 64%, 38%)
HSVhsv(246, 78%, 62%)
CMYKcmyk(69.8%, 78%, 0%, 37.6%)
CIE-LABlab(24.74, 44.20, -64.37)
CIE-LCHlch(24.74, 78.09, 304.47°)
OKLaboklab(37.06% 0.0221 -0.186)
OKLCHoklch(37.06% 0.187 276.8)
XYZxyz(8.0759, 4.3329, 33.2049)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30239F #929F23
analogous
#23549F #30239F #6E239F
triadic
#30239F #9F3023 #239F30
tetradic
#30239F #9F2354 #929F23 #239F6E
square
#30239F #9F2354 #929F23 #239F6E
split-complementary
#30239F #9F6E23 #549F23
monochromatic
#120D3B #21186D #30239F #3F2ED1 #6D60DC

Accessibility & contrast

On white

11.25
#30239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#30239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30239F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30239F#FFFFFF#000000##FFFFFF
##30239F1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30239f;
/* rgb */ color: rgb(48, 35, 159);
/* oklch */ color: oklch(37.1% 0.187 276.8);
Tailwind
colors: {
  custom: {
    50: '#7961bd',
    500: '#30239f',
    950: '#000000',
  },
}
SCSS
$custom: #30239f;
$custom-light: #7961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30239f",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 246.29,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.18736,
    "h": 276.8
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#30239F
secondary
#B7C15D
accent
#E741D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #30239F

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

Preview Lab → · Contrast checker → · Palette generator →

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