#38367B#38367B

#38367B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.5% C 0.114 H 280.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#38367B
RGBrgb(56, 54, 123)
HSLhsl(242, 39%, 35%)
HSVhsv(242, 56%, 48%)
CMYKcmyk(54.5%, 56.1%, 0%, 51.8%)
CIE-LABlab(26.47, 21.65, -39.19)
CIE-LCHlch(26.47, 44.77, 298.91°)
OKLaboklab(37.48% 0.0211 -0.112)
OKLCHoklch(37.48% 0.114 280.7)
XYZxyz(6.5241, 4.9088, 19.3388)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38367B #797B36
analogous
#36577B #38367B #5B367B
triadic
#38367B #7B3836 #367B38
tetradic
#38367B #7B3657 #797B36 #367B5B
square
#38367B #7B3657 #797B36 #367B5B
split-complementary
#38367B #7B5B36 #577B36
monochromatic
#111126 #252350 #38367B #4B49A6 #6F6DBF

Accessibility & contrast

On white

10.60
#38367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#38367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38367B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38367B#FFFFFF#000000##FFFFFF
##38367B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417D
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#1C4653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #38367b;
/* rgb */ color: rgb(56, 54, 123);
/* oklch */ color: oklch(37.5% 0.114 280.7);
Tailwind
colors: {
  custom: {
    50: '#746da2',
    500: '#38367b',
    950: '#000000',
  },
}
SCSS
$custom: #38367b;
$custom-light: #746da2;
$custom-dark: #000000;
JSON
{
  "hex": "#38367b",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 241.739,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.11398,
    "h": 280.7
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#38367B
secondary
#A5A765
accent
#CF59CB
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #38367B

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

Preview Lab → · Contrast checker → · Palette generator →

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