#38368B#38368B

#38368B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.137 H 278.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#38368B
RGBrgb(56, 54, 139)
HSLhsl(241, 44%, 38%)
HSVhsv(241, 61%, 55%)
CMYKcmyk(59.7%, 61.2%, 0%, 45.5%)
CIE-LABlab(27.69, 27.17, -47.23)
CIE-LCHlch(27.69, 54.49, 299.92°)
OKLaboklab(38.77% 0.0212 -0.1356)
OKLCHoklch(38.77% 0.137 278.9)
XYZxyz(7.6088, 5.3426, 25.0514)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38368B #898B36
analogous
#365E8B #38368B #62368B
triadic
#38368B #8B3836 #368B38
tetradic
#38368B #8B365E #898B36 #368B62
square
#38368B #8B365E #898B36 #368B62
split-complementary
#38368B #8B6236 #5E8B36
monochromatic
#141433 #26255F #38368B #4A47B7 #7573C9

Accessibility & contrast

On white

10.15
#38368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#38368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38368B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38368B#FFFFFF#000000##FFFFFF
##38368B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#024A5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38368b;
/* rgb */ color: rgb(56, 54, 139);
/* oklch */ color: oklch(38.8% 0.137 278.9);
Tailwind
colors: {
  custom: {
    50: '#776dae',
    500: '#38368b',
    950: '#000000',
  },
}
SCSS
$custom: #38368b;
$custom-light: #776dae;
$custom-dark: #000000;
JSON
{
  "hex": "#38368b",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 241.412,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3877,
    "c": 0.13729,
    "h": 278.9
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#38368B
secondary
#AFB16C
accent
#D454D1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #38368B

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

Preview Lab → · Contrast checker → · Palette generator →

#38368B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva