#38269E#38269E

#38269E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.182 H 280.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#38269E
RGBrgb(56, 38, 158)
HSLhsl(249, 61%, 38%)
HSVhsv(249, 76%, 62%)
CMYKcmyk(64.6%, 75.9%, 0%, 38%)
CIE-LABlab(25.85, 43.16, -61.92)
CIE-LCHlch(25.85, 75.48, 304.88°)
OKLaboklab(37.97% 0.032 -0.1787)
OKLCHoklch(37.97% 0.182 280.1)
XYZxyz(8.4936, 4.6949, 32.7997)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38269E #8C9E26
analogous
#26509E #38269E #74269E
triadic
#38269E #9E3826 #269E38
tetradic
#38269E #9E2650 #8C9E26 #269E74
square
#38269E #9E2650 #8C9E26 #269E74
split-complementary
#38269E #9E7426 #509E26
monochromatic
#150E3B #271A6D #38269E #4A33CE #7665DA

Accessibility & contrast

On white

10.83
#38269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#38269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38269E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38269E#FFFFFF#000000##FFFFFF
##38269E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38269e;
/* rgb */ color: rgb(56, 38, 158);
/* oklch */ color: oklch(38.0% 0.182 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c63bc',
    500: '#38269e',
    950: '#000000',
  },
}
SCSS
$custom: #38269e;
$custom-light: #7c63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38269e",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 249,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3797,
    "c": 0.18153,
    "h": 280.1
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#38269E
secondary
#B1C060
accent
#E443CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38269E

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

Preview Lab → · Contrast checker → · Palette generator →

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