#38507B#38507B

#38507B is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.078 H 261.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#38507B
RGBrgb(56, 80, 123)
HSLhsl(219, 37%, 35%)
HSVhsv(219, 54%, 48%)
CMYKcmyk(54.5%, 35%, 0%, 51.8%)
CIE-LABlab(34.00, 4.28, -27.21)
CIE-LCHlch(34.00, 27.54, 278.94°)
OKLaboklab(43.23% -0.0115 -0.0767)
OKLCHoklch(43.23% 0.078 261.5)
XYZxyz(8.0735, 8.0075, 19.8552)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38507B #7B6338
analogous
#38727B #38507B #41387B
triadic
#38507B #7B3850 #507B38
tetradic
#38507B #7B3872 #7B6338 #387B41
square
#38507B #7B3872 #7B6338 #387B41
split-complementary
#38507B #7B4138 #727B38
monochromatic
#121927 #253551 #38507B #4B6BA5 #708CBE

Accessibility & contrast

On white

8.07
#38507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#38507B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38507B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38507B#FFFFFF#000000##FFFFFF
##38507B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#165960
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38507b;
/* rgb */ color: rgb(56, 80, 123);
/* oklch */ color: oklch(43.2% 0.078 261.5);
Tailwind
colors: {
  custom: {
    50: '#7380a1',
    500: '#38507b',
    950: '#000000',
  },
}
SCSS
$custom: #38507b;
$custom-light: #7380a1;
$custom-dark: #000000;
JSON
{
  "hex": "#38507b",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 218.507,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.07755,
    "h": 261.5
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#38507B
secondary
#A79068
accent
#A45ACD
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #38507B

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

Preview Lab → · Contrast checker → · Palette generator →

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