#38367A#38367A

#38367A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.4% C 0.112 H 280.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#38367A
RGBrgb(56, 54, 122)
HSLhsl(242, 39%, 35%)
HSVhsv(242, 56%, 48%)
CMYKcmyk(54.1%, 55.7%, 0%, 52.2%)
CIE-LABlab(26.40, 21.30, -38.68)
CIE-LCHlch(26.40, 44.16, 298.85°)
OKLaboklab(37.41% 0.0211 -0.1105)
OKLCHoklch(37.41% 0.112 280.8)
XYZxyz(6.4618, 4.8839, 19.0108)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38367A #787A36
analogous
#36567A #38367A #5A367A
triadic
#38367A #7A3836 #367A38
tetradic
#38367A #7A3656 #787A36 #367A5A
square
#38367A #7A3656 #787A36 #367A5A
split-complementary
#38367A #7A5A36 #567A36
monochromatic
#111025 #252350 #38367A #4B49A4 #6F6CBE

Accessibility & contrast

On white

10.62
#38367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#38367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38367A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38367A#FFFFFF#000000##FFFFFF
##38367A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#063C79
Tritanopia (blue-blind)
#1D4552
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38367a;
/* rgb */ color: rgb(56, 54, 122);
/* oklch */ color: oklch(37.4% 0.112 280.8);
Tailwind
colors: {
  custom: {
    50: '#746da1',
    500: '#38367a',
    950: '#000000',
  },
}
SCSS
$custom: #38367a;
$custom-light: #746da1;
$custom-dark: #000000;
JSON
{
  "hex": "#38367a",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 241.765,
    "s": 38.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.11248,
    "h": 280.8
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#38367A
secondary
#A5A765
accent
#CF59CB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #38367A

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

Preview Lab → · Contrast checker → · Palette generator →

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