#38259F#38259F

#38259F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.184 H 280.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#38259F
RGBrgb(56, 37, 159)
HSLhsl(249, 62%, 38%)
HSVhsv(249, 77%, 62%)
CMYKcmyk(64.8%, 76.7%, 0%, 37.6%)
CIE-LABlab(25.76, 44.01, -62.67)
CIE-LCHlch(25.76, 76.58, 305.08°)
OKLaboklab(37.94% 0.0323 -0.1809)
OKLCHoklch(37.94% 0.184 280.1)
XYZxyz(8.5485, 4.6664, 33.2444)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38259F #8C9F25
analogous
#254F9F #38259F #75259F
triadic
#38259F #9F3825 #259F38
tetradic
#38259F #9F254F #8C9F25 #259F75
square
#38259F #9F254F #8C9F25 #259F75
split-complementary
#38259F #9F7525 #4F9F25
monochromatic
#150E3C #27196D #38259F #4A32CF #7664DB

Accessibility & contrast

On white

10.86
#38259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38259F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38259F#FFFFFF#000000##FFFFFF
##38259F1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38259f;
/* rgb */ color: rgb(56, 37, 159);
/* oklch */ color: oklch(37.9% 0.184 280.1);
Tailwind
colors: {
  custom: {
    50: '#7d63bd',
    500: '#38259f',
    950: '#000000',
  },
}
SCSS
$custom: #38259f;
$custom-light: #7d63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#38259f",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 249.344,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37941,
    "c": 0.18375,
    "h": 280.1
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38259F

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

Preview Lab → · Contrast checker → · Palette generator →

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