#38427A#38427A

#38427A is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.095 H 273.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#38427A
RGBrgb(56, 66, 122)
HSLhsl(231, 37%, 35%)
HSVhsv(231, 54%, 48%)
CMYKcmyk(54.1%, 45.9%, 0%, 52.2%)
CIE-LABlab(29.77, 13.21, -33.28)
CIE-LCHlch(29.77, 35.81, 291.65°)
OKLaboklab(39.95% 0.0062 -0.0945)
OKLCHoklch(39.95% 0.095 273.7)
XYZxyz(7.0908, 6.1419, 19.2204)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38427A #7A7038
analogous
#38637A #38427A #4F387A
triadic
#38427A #7A3842 #427A38
tetradic
#38427A #7A3863 #7A7038 #387A4F
square
#38427A #7A3863 #7A7038 #387A4F
split-complementary
#38427A #7A4F38 #637A38
monochromatic
#111526 #252B50 #38427A #4B59A4 #6F7BBD

Accessibility & contrast

On white

9.42
#38427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#38427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38427A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38427A#FFFFFF#000000##FFFFFF
##38427A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#1B4E58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #38427a;
/* rgb */ color: rgb(56, 66, 122);
/* oklch */ color: oklch(39.9% 0.095 273.7);
Tailwind
colors: {
  custom: {
    50: '#7476a1',
    500: '#38427a',
    950: '#000000',
  },
}
SCSS
$custom: #38427a;
$custom-light: #7476a1;
$custom-dark: #000000;
JSON
{
  "hex": "#38427a",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 230.909,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.09474,
    "h": 273.7
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#38427A
secondary
#A69D68
accent
#BC5BCD
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #38427A

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

Preview Lab → · Contrast checker → · Palette generator →

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