#38366F#38366F

#38366F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.096 H 282.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#38366F
RGBrgb(56, 54, 111)
HSLhsl(242, 35%, 32%)
HSVhsv(242, 51%, 44%)
CMYKcmyk(49.5%, 51.4%, 0%, 56.5%)
CIE-LABlab(25.64, 17.56, -32.90)
CIE-LCHlch(25.64, 37.30, 298.09°)
OKLaboklab(36.59% 0.0202 -0.0935)
OKLCHoklch(36.59% 0.096 282.2)
XYZxyz(5.8184, 4.6265, 15.6223)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38366F #6D6F36
analogous
#36516F #38366F #54366F
triadic
#38366F #6F3836 #366F38
tetradic
#38366F #6F3651 #6D6F36 #366F54
square
#38366F #6F3651 #6D6F36 #366F54
split-complementary
#38366F #6F5436 #516F36
monochromatic
#0E0E1D #232246 #38366F #4D4A98 #6C69B6

Accessibility & contrast

On white

10.91
#38366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#38366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38366F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38366F#FFFFFF#000000##FFFFFF
##38366F1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#1A3B6E
Tritanopia (blue-blind)
#25424D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38366f;
/* rgb */ color: rgb(56, 54, 111);
/* oklch */ color: oklch(36.6% 0.096 282.2);
Tailwind
colors: {
  custom: {
    50: '#736d99',
    500: '#38366f',
    950: '#000000',
  },
}
SCSS
$custom: #38366f;
$custom-light: #736d99;
$custom-dark: #000000;
JSON
{
  "hex": "#38366f",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 242.105,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36594,
    "c": 0.09568,
    "h": 282.2
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#38366F
secondary
#9D9F62
accent
#CB5DC7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #38366F

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

Preview Lab → · Contrast checker → · Palette generator →

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