#38507A#38507A

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

Color values

HEX#38507A
RGBrgb(56, 80, 122)
HSLhsl(218, 37%, 35%)
HSVhsv(218, 54%, 48%)
CMYKcmyk(54.1%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.95, 3.94, -26.67)
CIE-LCHlch(33.95, 26.96, 278.40°)
OKLaboklab(43.17% -0.0118 -0.0751)
OKLCHoklch(43.17% 0.076 261.1)
XYZxyz(8.0112, 7.9826, 19.5272)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38507A #7A6238
analogous
#38717A #38507A #41387A
triadic
#38507A #7A3850 #507A38
tetradic
#38507A #7A3871 #7A6238 #387A41
square
#38507A #7A3871 #7A6238 #387A41
split-complementary
#38507A #7A4138 #717A38
monochromatic
#111926 #253450 #38507A #4B6CA4 #6F8CBD

Accessibility & contrast

On white

8.09
#38507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38507A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38507A#FFFFFF#000000##FFFFFF
##38507A1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537C
Deuteranopia (green-blind)
#384D79
Tritanopia (blue-blind)
#17595F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38507a;
/* rgb */ color: rgb(56, 80, 122);
/* oklch */ color: oklch(43.2% 0.076 261.1);
Tailwind
colors: {
  custom: {
    50: '#7380a0',
    500: '#38507a',
    950: '#000000',
  },
}
SCSS
$custom: #38507a;
$custom-light: #7380a0;
$custom-dark: #000000;
JSON
{
  "hex": "#38507a",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 218.182,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.07604,
    "h": 261.1
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#38507A
secondary
#A68F68
accent
#A35BCD
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #38507A

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

Preview Lab → · Contrast checker → · Palette generator →

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