#38366C#38366C

#38366C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.091 H 282.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#38366C
RGBrgb(56, 54, 108)
HSLhsl(242, 33%, 32%)
HSVhsv(242, 50%, 42%)
CMYKcmyk(48.1%, 50%, 0%, 57.6%)
CIE-LABlab(25.45, 16.55, -31.30)
CIE-LCHlch(25.45, 35.40, 297.88°)
OKLaboklab(36.38% 0.0198 -0.0888)
OKLCHoklch(36.38% 0.091 282.6)
XYZxyz(5.6560, 4.5615, 14.7669)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38366C #6A6C36
analogous
#364F6C #38366C #53366C
triadic
#38366C #6C3836 #366C38
tetradic
#38366C #6C364F #6A6C36 #366C53
square
#38366C #6C364F #6A6C36 #366C53
split-complementary
#38366C #6C5336 #4F6C36
monochromatic
#0E0D1A #232243 #38366C #4D4A95 #6B69B4

Accessibility & contrast

On white

10.98
#38366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#38366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38366C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38366C#FFFFFF#000000##FFFFFF
##38366C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#1D3A6B
Tritanopia (blue-blind)
#27414B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38366c;
/* rgb */ color: rgb(56, 54, 108);
/* oklch */ color: oklch(36.4% 0.091 282.6);
Tailwind
colors: {
  custom: {
    50: '#726d96',
    500: '#38366c',
    950: '#000000',
  },
}
SCSS
$custom: #38366c;
$custom-light: #726d96;
$custom-dark: #000000;
JSON
{
  "hex": "#38366c",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 242.222,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36383,
    "c": 0.09098,
    "h": 282.6
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#38366C
secondary
#9A9D61
accent
#C95EC5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #38366C

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

Preview Lab → · Contrast checker → · Palette generator →

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