#38259D#38259D

#38259D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.181 H 280.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#38259D
RGBrgb(56, 37, 157)
HSLhsl(250, 62%, 38%)
HSVhsv(250, 76%, 62%)
CMYKcmyk(64.3%, 76.4%, 0%, 38.4%)
CIE-LABlab(25.56, 43.38, -61.79)
CIE-LCHlch(25.56, 75.50, 305.07°)
OKLaboklab(37.73% 0.0329 -0.1783)
OKLCHoklch(37.73% 0.181 280.4)
XYZxyz(8.3763, 4.5976, 32.3378)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38259D #8A9D25
analogous
#254E9D #38259D #74259D
triadic
#38259D #9D3825 #259D38
tetradic
#38259D #9D254E #8A9D25 #259D74
square
#38259D #9D254E #8A9D25 #259D74
split-complementary
#38259D #9D7425 #4E9D25
monochromatic
#150E3A #26196B #38259D #4A31CE #7562DA

Accessibility & contrast

On white

10.94
#38259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#38259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38259D
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38259D#FFFFFF#000000##FFFFFF
##38259D1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38259d;
/* rgb */ color: rgb(56, 37, 157);
/* oklch */ color: oklch(37.7% 0.181 280.4);
Tailwind
colors: {
  custom: {
    50: '#7c62bb',
    500: '#38259d',
    950: '#000000',
  },
}
SCSS
$custom: #38259d;
$custom-light: #7c62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38259d",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 249.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37734,
    "c": 0.18131,
    "h": 280.4
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38259D

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

Preview Lab → · Contrast checker → · Palette generator →

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