#38259B#38259B

#38259B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.179 H 280.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#38259B
RGBrgb(56, 37, 155)
HSLhsl(250, 61%, 38%)
HSVhsv(250, 76%, 61%)
CMYKcmyk(63.9%, 76.1%, 0%, 39.2%)
CIE-LABlab(25.35, 42.76, -60.91)
CIE-LCHlch(25.35, 74.42, 305.07°)
OKLaboklab(37.53% 0.0333 -0.1757)
OKLCHoklch(37.53% 0.179 280.7)
XYZxyz(8.2070, 4.5298, 31.4459)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38259B #889B25
analogous
#254D9B #38259B #73259B
triadic
#38259B #9B3825 #259B38
tetradic
#38259B #9B254D #889B25 #259B73
square
#38259B #9B254D #889B25 #259B73
split-complementary
#38259B #9B7325 #4D9B25
monochromatic
#140D38 #26196A #38259B #4A31CC #7461D9

Accessibility & contrast

On white

11.02
#38259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38259B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38259B#FFFFFF#000000##FFFFFF
##38259B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38259b;
/* rgb */ color: rgb(56, 37, 155);
/* oklch */ color: oklch(37.5% 0.179 280.7);
Tailwind
colors: {
  custom: {
    50: '#7c62ba',
    500: '#38259b',
    950: '#000000',
  },
}
SCSS
$custom: #38259b;
$custom-light: #7c62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38259b",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 249.661,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.17886,
    "h": 280.7
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#38259B
secondary
#AFBF5D
accent
#E543CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38259B

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

Preview Lab → · Contrast checker → · Palette generator →

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