#38249F#38249F

#38249F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.185 H 280.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#38249F
RGBrgb(56, 36, 159)
HSLhsl(250, 63%, 38%)
HSVhsv(250, 77%, 62%)
CMYKcmyk(64.8%, 77.4%, 0%, 37.6%)
CIE-LABlab(25.58, 44.53, -62.97)
CIE-LCHlch(25.58, 77.13, 305.27°)
OKLaboklab(37.81% 0.033 -0.1818)
OKLCHoklch(37.81% 0.185 280.3)
XYZxyz(8.5178, 4.6050, 33.2342)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38249F #8B9F24
analogous
#244D9F #38249F #75249F
triadic
#38249F #9F3824 #249F38
tetradic
#38249F #9F244D #8B9F24 #249F75
square
#38249F #9F244D #8B9F24 #249F75
split-complementary
#38249F #9F7524 #4D9F24
monochromatic
#150D3B #26196D #38249F #4A30D0 #7662DB

Accessibility & contrast

On white

10.93
#38249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#38249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38249F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38249F#FFFFFF#000000##FFFFFF
##38249F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38249f;
/* rgb */ color: rgb(56, 36, 159);
/* oklch */ color: oklch(37.8% 0.185 280.3);
Tailwind
colors: {
  custom: {
    50: '#7d62bd',
    500: '#38249f',
    950: '#000000',
  },
}
SCSS
$custom: #38249f;
$custom-light: #7d62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#38249f",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 249.756,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.18472,
    "h": 280.3
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38249F

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

Preview Lab → · Contrast checker → · Palette generator →

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