#38367C#38367C

#38367C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.6% C 0.115 H 280.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#38367C
RGBrgb(56, 54, 124)
HSLhsl(242, 39%, 35%)
HSVhsv(242, 56%, 49%)
CMYKcmyk(54.8%, 56.5%, 0%, 51.4%)
CIE-LABlab(26.55, 21.99, -39.71)
CIE-LCHlch(26.55, 45.39, 298.98°)
OKLaboklab(37.56% 0.0212 -0.1135)
OKLCHoklch(37.56% 0.115 280.6)
XYZxyz(6.5870, 4.9339, 19.6701)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38367C #7A7C36
analogous
#36577C #38367C #5B367C
triadic
#38367C #7C3836 #367C38
tetradic
#38367C #7C3657 #7A7C36 #367C5B
square
#38367C #7C3657 #7A7C36 #367C5B
split-complementary
#38367C #7C5B36 #577C36
monochromatic
#111127 #252351 #38367C #4B49A7 #6F6DBF

Accessibility & contrast

On white

10.57
#38367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#38367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38367C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38367C#FFFFFF#000000##FFFFFF
##38367C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#013C7B
Tritanopia (blue-blind)
#1B4653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #38367c;
/* rgb */ color: rgb(56, 54, 124);
/* oklch */ color: oklch(37.6% 0.115 280.6);
Tailwind
colors: {
  custom: {
    50: '#756da2',
    500: '#38367c',
    950: '#000000',
  },
}
SCSS
$custom: #38367c;
$custom-light: #756da2;
$custom-dark: #000000;
JSON
{
  "hex": "#38367c",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 241.714,
    "s": 39.326,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3756,
    "c": 0.11548,
    "h": 280.6
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#38367C
secondary
#A6A866
accent
#CF59CC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #38367C

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

Preview Lab → · Contrast checker → · Palette generator →

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