#38259C#38259C

#38259C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.180 H 280.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#38259C
RGBrgb(56, 37, 156)
HSLhsl(250, 62%, 38%)
HSVhsv(250, 76%, 61%)
CMYKcmyk(64.1%, 76.3%, 0%, 38.8%)
CIE-LABlab(25.45, 43.07, -61.35)
CIE-LCHlch(25.45, 74.96, 305.07°)
OKLaboklab(37.63% 0.0331 -0.177)
OKLCHoklch(37.63% 0.18 280.6)
XYZxyz(8.2913, 4.5636, 31.8900)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38259C #899C25
analogous
#254D9C #38259C #73259C
triadic
#38259C #9C3825 #259C38
tetradic
#38259C #9C254D #899C25 #259C73
square
#38259C #9C254D #899C25 #259C73
split-complementary
#38259C #9C7325 #4D9C25
monochromatic
#140E39 #26196B #38259C #4A31CD #7562DA

Accessibility & contrast

On white

10.98
#38259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#38259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38259C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38259C#FFFFFF#000000##FFFFFF
##38259C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38259c;
/* rgb */ color: rgb(56, 37, 156);
/* oklch */ color: oklch(37.6% 0.180 280.6);
Tailwind
colors: {
  custom: {
    50: '#7c62ba',
    500: '#38259c',
    950: '#000000',
  },
}
SCSS
$custom: #38259c;
$custom-light: #7c62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38259c",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 249.58,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37631,
    "c": 0.1801,
    "h": 280.6
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#38259C
secondary
#AFBF5E
accent
#E543CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38259C

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

Preview Lab → · Contrast checker → · Palette generator →

#38259C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva