#38367F#38367F

#38367F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.8% C 0.120 H 280.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#38367F
RGBrgb(56, 54, 127)
HSLhsl(242, 40%, 35%)
HSVhsv(242, 57%, 50%)
CMYKcmyk(55.9%, 57.5%, 0%, 50.2%)
CIE-LABlab(26.77, 23.02, -41.24)
CIE-LCHlch(26.77, 47.23, 299.18°)
OKLaboklab(37.79% 0.0213 -0.118)
OKLCHoklch(37.79% 0.12 280.2)
XYZxyz(6.7796, 5.0110, 20.6845)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38367F #7D7F36
analogous
#36587F #38367F #5C367F
triadic
#38367F #7F3836 #367F38
tetradic
#38367F #7F3658 #7D7F36 #367F5C
square
#38367F #7F3658 #7D7F36 #367F5C
split-complementary
#38367F #7F5C36 #587F36
monochromatic
#121129 #252454 #38367F #4B48AA #706EC1

Accessibility & contrast

On white

10.49
#38367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#38367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38367F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38367F#FFFFFF#000000##FFFFFF
##38367F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054281
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#184755
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #38367f;
/* rgb */ color: rgb(56, 54, 127);
/* oklch */ color: oklch(37.8% 0.120 280.2);
Tailwind
colors: {
  custom: {
    50: '#756da5',
    500: '#38367f',
    950: '#000000',
  },
}
SCSS
$custom: #38367f;
$custom-light: #756da5;
$custom-dark: #000000;
JSON
{
  "hex": "#38367f",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 241.644,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37794,
    "c": 0.11992,
    "h": 280.2
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#38367F
secondary
#A8AA67
accent
#D058CD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #38367F

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

Preview Lab → · Contrast checker → · Palette generator →

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