#38249E#38249E

#38249E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.184 H 280.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#38249E
RGBrgb(56, 36, 158)
HSLhsl(250, 63%, 38%)
HSVhsv(250, 77%, 62%)
CMYKcmyk(64.6%, 77.2%, 0%, 38%)
CIE-LABlab(25.47, 44.22, -62.53)
CIE-LCHlch(25.47, 76.59, 305.27°)
OKLaboklab(37.71% 0.0332 -0.1805)
OKLCHoklch(37.71% 0.184 280.4)
XYZxyz(8.4314, 4.5705, 32.7790)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38249E #8A9E24
analogous
#244D9E #38249E #75249E
triadic
#38249E #9E3824 #249E38
tetradic
#38249E #9E244D #8A9E24 #249E75
square
#38249E #9E244D #8A9E24 #249E75
split-complementary
#38249E #9E7524 #4D9E24
monochromatic
#150D3A #26196C #38249E #4A2FD0 #7561DB

Accessibility & contrast

On white

10.97
#38249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#38249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38249E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38249E#FFFFFF#000000##FFFFFF
##38249E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38249e;
/* rgb */ color: rgb(56, 36, 158);
/* oklch */ color: oklch(37.7% 0.184 280.4);
Tailwind
colors: {
  custom: {
    50: '#7d62bc',
    500: '#38249e',
    950: '#000000',
  },
}
SCSS
$custom: #38249e;
$custom-light: #7d62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38249e",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 249.836,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.18351,
    "h": 280.4
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#38249E
secondary
#B0C05E
accent
#E642CB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38249E

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

Preview Lab → · Contrast checker → · Palette generator →

#38249E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva