#38249D#38249D

#38249D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.182 H 280.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#38249D
RGBrgb(56, 36, 157)
HSLhsl(250, 63%, 38%)
HSVhsv(250, 77%, 62%)
CMYKcmyk(64.3%, 77.1%, 0%, 38.4%)
CIE-LABlab(25.37, 43.91, -62.10)
CIE-LCHlch(25.37, 76.05, 305.27°)
OKLaboklab(37.6% 0.0335 -0.1792)
OKLCHoklch(37.6% 0.182 280.6)
XYZxyz(8.3456, 4.5362, 32.3275)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38249D #899D24
analogous
#244D9D #38249D #74249D
triadic
#38249D #9D3824 #249D38
tetradic
#38249D #9D244D #899D24 #249D74
square
#38249D #9D244D #899D24 #249D74
split-complementary
#38249D #9D7424 #4D9D24
monochromatic
#140D39 #26196B #38249D #4A2FCF #7561DB

Accessibility & contrast

On white

11.01
#38249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38249D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38249D#FFFFFF#000000##FFFFFF
##38249D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38249d;
/* rgb */ color: rgb(56, 36, 157);
/* oklch */ color: oklch(37.6% 0.182 280.6);
Tailwind
colors: {
  custom: {
    50: '#7c62bb',
    500: '#38249d',
    950: '#000000',
  },
}
SCSS
$custom: #38249d;
$custom-light: #7c62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38249d",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 249.917,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37604,
    "c": 0.1823,
    "h": 280.6
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#38249D
secondary
#AFC05D
accent
#E642CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38249D

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

Preview Lab → · Contrast checker → · Palette generator →

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