#38366E#38366E

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

Color values

HEX#38366E
RGBrgb(56, 54, 110)
HSLhsl(242, 34%, 32%)
HSVhsv(242, 51%, 43%)
CMYKcmyk(49.1%, 50.9%, 0%, 56.9%)
CIE-LABlab(25.58, 17.23, -32.37)
CIE-LCHlch(25.58, 36.67, 298.02°)
OKLaboklab(36.52% 0.02 -0.092)
OKLCHoklch(36.52% 0.094 282.3)
XYZxyz(5.7637, 4.6046, 15.3339)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38366E #6C6E36
analogous
#36506E #38366E #54366E
triadic
#38366E #6E3836 #366E38
tetradic
#38366E #6E3650 #6C6E36 #366E54
square
#38366E #6E3650 #6C6E36 #366E54
split-complementary
#38366E #6E5436 #506E36
monochromatic
#0E0E1C #232245 #38366E #4D4A97 #6C69B5

Accessibility & contrast

On white

10.93
#38366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38366E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38366E#FFFFFF#000000##FFFFFF
##38366E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#1B3B6D
Tritanopia (blue-blind)
#26424C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38366e;
/* rgb */ color: rgb(56, 54, 110);
/* oklch */ color: oklch(36.5% 0.094 282.3);
Tailwind
colors: {
  custom: {
    50: '#726d98',
    500: '#38366e',
    950: '#000000',
  },
}
SCSS
$custom: #38366e;
$custom-light: #726d98;
$custom-dark: #000000;
JSON
{
  "hex": "#38366e",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 242.143,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36523,
    "c": 0.09412,
    "h": 282.3
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38366E

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

Preview Lab → · Contrast checker → · Palette generator →

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