#38259E#38259E

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

Color values

HEX#38259E
RGBrgb(56, 37, 158)
HSLhsl(249, 62%, 38%)
HSVhsv(249, 77%, 62%)
CMYKcmyk(64.6%, 76.6%, 0%, 38%)
CIE-LABlab(25.66, 43.70, -62.23)
CIE-LCHlch(25.66, 76.04, 305.08°)
OKLaboklab(37.84% 0.0326 -0.1796)
OKLCHoklch(37.84% 0.183 280.3)
XYZxyz(8.4621, 4.6319, 32.7892)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38259E #8B9E25
analogous
#254F9E #38259E #74259E
triadic
#38259E #9E3825 #259E38
tetradic
#38259E #9E254F #8B9E25 #259E74
square
#38259E #9E254F #8B9E25 #259E74
split-complementary
#38259E #9E7425 #4F9E25
monochromatic
#150E3B #26196C #38259E #4A31CF #7663DA

Accessibility & contrast

On white

10.90
#38259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#38259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38259E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38259E#FFFFFF#000000##FFFFFF
##38259E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38259e;
/* rgb */ color: rgb(56, 37, 158);
/* oklch */ color: oklch(37.8% 0.183 280.3);
Tailwind
colors: {
  custom: {
    50: '#7c62bc',
    500: '#38259e',
    950: '#000000',
  },
}
SCSS
$custom: #38259e;
$custom-light: #7c62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38259e",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 249.421,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37838,
    "c": 0.18253,
    "h": 280.3
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#38259E
secondary
#B1C05F
accent
#E543CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38259E

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

Preview Lab → · Contrast checker → · Palette generator →

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