#38337F#38337F

#38337F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.124 H 281.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#38337F
RGBrgb(56, 51, 127)
HSLhsl(244, 43%, 35%)
HSVhsv(244, 60%, 50%)
CMYKcmyk(55.9%, 59.8%, 0%, 50.2%)
CIE-LABlab(25.98, 25.02, -42.51)
CIE-LCHlch(25.98, 49.32, 300.48°)
OKLaboklab(37.21% 0.0247 -0.1218)
OKLCHoklch(37.21% 0.124 281.5)
XYZxyz(6.6443, 4.7403, 20.6394)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38337F #7A7F33
analogous
#33547F #38337F #5E337F
triadic
#38337F #7F3833 #337F38
tetradic
#38337F #7F3354 #7A7F33 #337F5E
square
#38337F #7F3354 #7A7F33 #337F5E
split-complementary
#38337F #7F5E33 #547F33
monochromatic
#111028 #252153 #38337F #4B45AB #6F69C3

Accessibility & contrast

On white

10.78
#38337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38337F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38337F#FFFFFF#000000##FFFFFF
##38337F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#184553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38337f;
/* rgb */ color: rgb(56, 51, 127);
/* oklch */ color: oklch(37.2% 0.124 281.5);
Tailwind
colors: {
  custom: {
    50: '#756ba5',
    500: '#38337f',
    950: '#000000',
  },
}
SCSS
$custom: #38337f;
$custom-light: #756ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#38337f",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 243.947,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.12426,
    "h": 281.5
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#38337F
secondary
#A6AB63
accent
#D255CA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #38337F

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

Preview Lab → · Contrast checker → · Palette generator →

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