#38366B#38366B

#38366B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.3% C 0.089 H 282.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#38366B
RGBrgb(56, 54, 107)
HSLhsl(242, 33%, 32%)
HSVhsv(242, 50%, 42%)
CMYKcmyk(47.7%, 49.5%, 0%, 58%)
CIE-LABlab(25.38, 16.22, -30.76)
CIE-LCHlch(25.38, 34.77, 297.81°)
OKLaboklab(36.31% 0.0197 -0.0872)
OKLCHoklch(36.31% 0.089 282.7)
XYZxyz(5.6031, 4.5404, 14.4882)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38366B #696B36
analogous
#364F6B #38366B #53366B
triadic
#38366B #6B3836 #366B38
tetradic
#38366B #6B364F #696B36 #366B53
square
#38366B #6B364F #696B36 #366B53
split-complementary
#38366B #6B5336 #4F6B36
monochromatic
#0D0D1A #232142 #38366B #4D4B94 #6B68B3

Accessibility & contrast

On white

11.01
#38366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38366B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38366B#FFFFFF#000000##FFFFFF
##38366B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38366b;
/* rgb */ color: rgb(56, 54, 107);
/* oklch */ color: oklch(36.3% 0.089 282.7);
Tailwind
colors: {
  custom: {
    50: '#726d96',
    500: '#38366b',
    950: '#000000',
  },
}
SCSS
$custom: #38366b;
$custom-light: #726d96;
$custom-dark: #000000;
JSON
{
  "hex": "#38366b",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 242.264,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36313,
    "c": 0.08941,
    "h": 282.7
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#38366B
secondary
#999C61
accent
#C95FC5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #38366B

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

Preview Lab → · Contrast checker → · Palette generator →

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