#38366D#38366D

#38366D is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.093 H 282.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#38366D
RGBrgb(56, 54, 109)
HSLhsl(242, 34%, 32%)
HSVhsv(242, 50%, 43%)
CMYKcmyk(48.6%, 50.5%, 0%, 57.3%)
CIE-LABlab(25.51, 16.89, -31.83)
CIE-LCHlch(25.51, 36.04, 297.95°)
OKLaboklab(36.45% 0.0199 -0.0904)
OKLCHoklch(36.45% 0.093 282.4)
XYZxyz(5.7095, 4.5829, 15.0488)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38366D #6B6D36
analogous
#36506D #38366D #54366D
triadic
#38366D #6D3836 #366D38
tetradic
#38366D #6D3650 #6B6D36 #366D54
square
#38366D #6D3650 #6B6D36 #366D54
split-complementary
#38366D #6D5436 #506D36
monochromatic
#0E0D1B #232244 #38366D #4D4A96 #6C69B5

Accessibility & contrast

On white

10.96
#38366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#38366D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38366D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38366D#FFFFFF#000000##FFFFFF
##38366D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6F
Deuteranopia (green-blind)
#1C3B6C
Tritanopia (blue-blind)
#26424C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38366d;
/* rgb */ color: rgb(56, 54, 109);
/* oklch */ color: oklch(36.5% 0.093 282.4);
Tailwind
colors: {
  custom: {
    50: '#726d97',
    500: '#38366d',
    950: '#000000',
  },
}
SCSS
$custom: #38366d;
$custom-light: #726d97;
$custom-dark: #000000;
JSON
{
  "hex": "#38366d",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 242.182,
    "s": 33.742,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36452,
    "c": 0.09255,
    "h": 282.4
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#38366D
secondary
#9B9D61
accent
#CA5EC6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #38366D

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

Preview Lab → · Contrast checker → · Palette generator →

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