#38269A#38269A

#38269A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.177 H 280.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#38269A
RGBrgb(56, 38, 154)
HSLhsl(249, 60%, 38%)
HSVhsv(249, 75%, 60%)
CMYKcmyk(63.6%, 75.3%, 0%, 39.6%)
CIE-LABlab(25.44, 41.90, -60.14)
CIE-LCHlch(25.44, 73.30, 304.87°)
OKLaboklab(37.56% 0.0329 -0.1735)
OKLCHoklch(37.56% 0.177 280.7)
XYZxyz(8.1549, 4.5595, 31.0159)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38269A #889A26
analogous
#264E9A #38269A #72269A
triadic
#38269A #9A3826 #269A38
tetradic
#38269A #9A264E #889A26 #269A72
square
#38269A #9A264E #889A26 #269A72
split-complementary
#38269A #9A7226 #4E9A26
monochromatic
#140E38 #261A69 #38269A #4A32CB #7462D8

Accessibility & contrast

On white

10.98
#38269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#38269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38269A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38269A#FFFFFF#000000##FFFFFF
##38269A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38269a;
/* rgb */ color: rgb(56, 38, 154);
/* oklch */ color: oklch(37.6% 0.177 280.7);
Tailwind
colors: {
  custom: {
    50: '#7c63b9',
    500: '#38269a',
    950: '#000000',
  },
}
SCSS
$custom: #38269a;
$custom-light: #7c63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38269a",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 249.31,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37561,
    "c": 0.17661,
    "h": 280.7
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#38269A
secondary
#AFBE5E
accent
#E444CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38269A

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

Preview Lab → · Contrast checker → · Palette generator →

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