#38337A#38337A

#38337A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.8% C 0.117 H 282.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#38337A
RGBrgb(56, 51, 122)
HSLhsl(244, 41%, 34%)
HSVhsv(244, 58%, 48%)
CMYKcmyk(54.1%, 58.2%, 0%, 52.2%)
CIE-LABlab(25.60, 23.31, -39.97)
CIE-LCHlch(25.60, 46.27, 300.25°)
OKLaboklab(36.81% 0.0247 -0.1143)
OKLCHoklch(36.81% 0.117 282.2)
XYZxyz(6.3265, 4.6132, 18.9657)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38337A #757A33
analogous
#33527A #38337A #5C337A
triadic
#38337A #7A3833 #337A38
tetradic
#38337A #7A3352 #757A33 #337A5C
square
#38337A #7A3352 #757A33 #337A5C
split-complementary
#38337A #7A5C33 #527A33
monochromatic
#100F24 #24214F #38337A #4C45A5 #6E68C0

Accessibility & contrast

On white

10.92
#38337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#38337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38337A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38337A#FFFFFF#000000##FFFFFF
##38337A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#1D4351
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38337a;
/* rgb */ color: rgb(56, 51, 122);
/* oklch */ color: oklch(36.8% 0.117 282.2);
Tailwind
colors: {
  custom: {
    50: '#746ba1',
    500: '#38337a',
    950: '#000000',
  },
}
SCSS
$custom: #38337a;
$custom-light: #746ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#38337a",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 244.225,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.11693,
    "h": 282.2
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#38337A
secondary
#A3A861
accent
#D157C8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #38337A

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

Preview Lab → · Contrast checker → · Palette generator →

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