#38367E#38367E

#38367E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.7% C 0.118 H 280.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#38367E
RGBrgb(56, 54, 126)
HSLhsl(242, 40%, 35%)
HSVhsv(242, 57%, 49%)
CMYKcmyk(55.6%, 57.1%, 0%, 50.6%)
CIE-LABlab(26.69, 22.68, -40.73)
CIE-LCHlch(26.69, 46.62, 299.11°)
OKLaboklab(37.71% 0.0212 -0.1165)
OKLCHoklch(37.71% 0.118 280.3)
XYZxyz(6.7148, 4.9850, 20.3430)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38367E #7C7E36
analogous
#36587E #38367E #5C367E
triadic
#38367E #7E3836 #367E38
tetradic
#38367E #7E3658 #7C7E36 #367E5C
square
#38367E #7E3658 #7C7E36 #367E5C
split-complementary
#38367E #7E5C36 #587E36
monochromatic
#121128 #252453 #38367E #4B48A9 #706EC1

Accessibility & contrast

On white

10.52
#38367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#38367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38367E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38367E#FFFFFF#000000##FFFFFF
##38367E1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074280
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#194654
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #38367e;
/* rgb */ color: rgb(56, 54, 126);
/* oklch */ color: oklch(37.7% 0.118 280.3);
Tailwind
colors: {
  custom: {
    50: '#756da4',
    500: '#38367e',
    950: '#000000',
  },
}
SCSS
$custom: #38367e;
$custom-light: #756da4;
$custom-dark: #000000;
JSON
{
  "hex": "#38367e",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 241.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37715,
    "c": 0.11845,
    "h": 280.3
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#38367E
secondary
#A7A967
accent
#D058CD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #38367E

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

Preview Lab → · Contrast checker → · Palette generator →

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