#38337C#38337C

#38337C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 37.0% C 0.120 H 281.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#38337C
RGBrgb(56, 51, 124)
HSLhsl(244, 42%, 34%)
HSVhsv(244, 59%, 49%)
CMYKcmyk(54.8%, 58.9%, 0%, 51.4%)
CIE-LABlab(25.75, 23.99, -40.99)
CIE-LCHlch(25.75, 47.49, 300.34°)
OKLaboklab(36.97% 0.0247 -0.1173)
OKLCHoklch(36.97% 0.12 281.9)
XYZxyz(6.4517, 4.6633, 19.6250)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38337C #777C33
analogous
#33537C #38337C #5D337C
triadic
#38337C #7C3833 #337C38
tetradic
#38337C #7C3353 #777C33 #337C5D
square
#38337C #7C3353 #777C33 #337C5D
split-complementary
#38337C #7C5D33 #537C33
monochromatic
#110F25 #242151 #38337C #4C45A7 #6E68C1

Accessibility & contrast

On white

10.87
#38337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#38337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38337C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38337C#FFFFFF#000000##FFFFFF
##38337C1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407E
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#1B4452
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38337c;
/* rgb */ color: rgb(56, 51, 124);
/* oklch */ color: oklch(37.0% 0.120 281.9);
Tailwind
colors: {
  custom: {
    50: '#756ba2',
    500: '#38337c',
    950: '#000000',
  },
}
SCSS
$custom: #38337c;
$custom-light: #756ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#38337c",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 244.11,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.11988,
    "h": 281.9
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#38337C
secondary
#A4A962
accent
#D256C9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #38337C

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

Preview Lab → · Contrast checker → · Palette generator →

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