#38477A#38477A

#38477A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.088 H 269.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#38477A
RGBrgb(56, 71, 122)
HSLhsl(226, 37%, 35%)
HSVhsv(226, 54%, 48%)
CMYKcmyk(54.1%, 41.8%, 0%, 52.2%)
CIE-LABlab(31.24, 9.86, -30.95)
CIE-LCHlch(31.24, 32.48, 287.67°)
OKLaboklab(41.07% -0.0002 -0.0877)
OKLCHoklch(41.07% 0.088 269.9)
XYZxyz(7.3958, 6.7519, 19.3221)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38477A #7A6B38
analogous
#38687A #38477A #4A387A
triadic
#38477A #7A3847 #477A38
tetradic
#38477A #7A3868 #7A6B38 #387A4A
square
#38477A #7A3868 #7A6B38 #387A4A
split-complementary
#38477A #7A4A38 #687A38
monochromatic
#111626 #252F50 #38477A #4B5FA4 #6F81BD

Accessibility & contrast

On white

8.93
#38477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#38477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38477A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38477A#FFFFFF#000000##FFFFFF
##38477A1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7C
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#19525A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38477a;
/* rgb */ color: rgb(56, 71, 122);
/* oklch */ color: oklch(41.1% 0.088 269.9);
Tailwind
colors: {
  custom: {
    50: '#7379a1',
    500: '#38477a',
    950: '#000000',
  },
}
SCSS
$custom: #38477a;
$custom-light: #7379a1;
$custom-dark: #000000;
JSON
{
  "hex": "#38477a",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 226.364,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.08766,
    "h": 269.9
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#38477A
secondary
#A69868
accent
#B35BCD
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #38477A

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

Preview Lab → · Contrast checker → · Palette generator →

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