#38259A#38259A

#38259A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.178 H 280.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#38259A
RGBrgb(56, 37, 154)
HSLhsl(250, 61%, 37%)
HSVhsv(250, 76%, 60%)
CMYKcmyk(63.6%, 76%, 0%, 39.6%)
CIE-LABlab(25.25, 42.45, -60.46)
CIE-LCHlch(25.25, 73.87, 305.07°)
OKLaboklab(37.43% 0.0336 -0.1744)
OKLCHoklch(37.43% 0.178 280.9)
XYZxyz(8.1233, 4.4964, 31.0054)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38259A #879A25
analogous
#254C9A #38259A #73259A
triadic
#38259A #9A3825 #259A38
tetradic
#38259A #9A254C #879A25 #259A73
square
#38259A #9A254C #879A25 #259A73
split-complementary
#38259A #9A7325 #4C9A25
monochromatic
#140D37 #261969 #38259A #4A31CB #7460D9

Accessibility & contrast

On white

11.06
#38259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#38259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38259A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38259A#FFFFFF#000000##FFFFFF
##38259A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38259a;
/* rgb */ color: rgb(56, 37, 154);
/* oklch */ color: oklch(37.4% 0.178 280.9);
Tailwind
colors: {
  custom: {
    50: '#7c62b9',
    500: '#38259a',
    950: '#000000',
  },
}
SCSS
$custom: #38259a;
$custom-light: #7c62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38259a",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 249.744,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37426,
    "c": 0.17764,
    "h": 280.9
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#38259A
secondary
#AEBE5D
accent
#E443CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #38259A

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

Preview Lab → · Contrast checker → · Palette generator →

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