#38367D#38367D

#38367D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.117 H 280.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#38367D
RGBrgb(56, 54, 125)
HSLhsl(242, 40%, 35%)
HSVhsv(242, 57%, 49%)
CMYKcmyk(55.2%, 56.8%, 0%, 51%)
CIE-LABlab(26.62, 22.33, -40.22)
CIE-LCHlch(26.62, 46.00, 299.05°)
OKLaboklab(37.64% 0.0212 -0.115)
OKLCHoklch(37.64% 0.117 280.4)
XYZxyz(6.6506, 4.9594, 20.0049)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38367D #7B7D36
analogous
#36587D #38367D #5B367D
triadic
#38367D #7D3836 #367D38
tetradic
#38367D #7D3658 #7B7D36 #367D5B
square
#38367D #7D3658 #7B7D36 #367D5B
split-complementary
#38367D #7D5B36 #587D36
monochromatic
#121128 #252452 #38367D #4B48A8 #706DC0

Accessibility & contrast

On white

10.54
#38367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#38367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38367D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38367D#FFFFFF#000000##FFFFFF
##38367D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09427F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#1A4654
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #38367d;
/* rgb */ color: rgb(56, 54, 125);
/* oklch */ color: oklch(37.6% 0.117 280.4);
Tailwind
colors: {
  custom: {
    50: '#756da3',
    500: '#38367d',
    950: '#000000',
  },
}
SCSS
$custom: #38367d;
$custom-light: #756da3;
$custom-dark: #000000;
JSON
{
  "hex": "#38367d",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 241.69,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.11697,
    "h": 280.4
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#38367D
secondary
#A7A966
accent
#D058CC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #38367D

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

Preview Lab → · Contrast checker → · Palette generator →

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