#38366A#38366A

#38366A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.088 H 282.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#38366A
RGBrgb(56, 54, 106)
HSLhsl(242, 33%, 31%)
HSVhsv(242, 49%, 42%)
CMYKcmyk(47.2%, 49.1%, 0%, 58.4%)
CIE-LABlab(25.32, 15.89, -30.21)
CIE-LCHlch(25.32, 34.14, 297.74°)
OKLaboklab(36.24% 0.0195 -0.0856)
OKLCHoklch(36.24% 0.088 282.8)
XYZxyz(5.5508, 4.5194, 14.2127)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38366A #686A36
analogous
#364E6A #38366A #52366A
triadic
#38366A #6A3836 #366A38
tetradic
#38366A #6A364E #686A36 #366A52
square
#38366A #6A364E #686A36 #366A52
split-complementary
#38366A #6A5236 #4E6A36
monochromatic
#0D0D19 #232141 #38366A #4D4B93 #6B68B2

Accessibility & contrast

On white

11.03
#38366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#38366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38366A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38366A#FFFFFF#000000##FFFFFF
##38366A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6C
Deuteranopia (green-blind)
#1F3A69
Tritanopia (blue-blind)
#28414B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38366a;
/* rgb */ color: rgb(56, 54, 106);
/* oklch */ color: oklch(36.2% 0.088 282.8);
Tailwind
colors: {
  custom: {
    50: '#726d95',
    500: '#38366a',
    950: '#000000',
  },
}
SCSS
$custom: #38366a;
$custom-light: #726d95;
$custom-dark: #000000;
JSON
{
  "hex": "#38366a",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 242.308,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36245,
    "c": 0.08782,
    "h": 282.8
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#38366A
secondary
#989B61
accent
#C95FC5
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #38366A

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

Preview Lab → · Contrast checker → · Palette generator →

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