#38428E#38428E

#38428E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.125 H 274.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#38428E
RGBrgb(56, 66, 142)
HSLhsl(233, 43%, 39%)
HSVhsv(233, 61%, 56%)
CMYKcmyk(60.6%, 53.5%, 0%, 44.3%)
CIE-LABlab(31.09, 20.27, -43.57)
CIE-LCHlch(31.09, 48.06, 294.95°)
OKLaboklab(41.38% 0.0087 -0.1248)
OKLCHoklch(41.38% 0.125 274)
XYZxyz(8.4600, 6.6895, 26.4313)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38428E #8E8438
analogous
#386D8E #38428E #59388E
triadic
#38428E #8E3842 #428E38
tetradic
#38428E #8E386D #8E8438 #388E59
square
#38428E #8E386D #8E8438 #388E59
split-complementary
#38428E #8E5938 #6D8E38
monochromatic
#151936 #272E62 #38428E #4B58B8 #7781C9

Accessibility & contrast

On white

8.98
#38428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#38428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38428E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38428E#FFFFFF#000000##FFFFFF
##38428E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#00468C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38428e;
/* rgb */ color: rgb(56, 66, 142);
/* oklch */ color: oklch(41.4% 0.125 274.0);
Tailwind
colors: {
  custom: {
    50: '#7776b0',
    500: '#38428e',
    950: '#000000',
  },
}
SCSS
$custom: #38428e;
$custom-light: #7776b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38428e",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 233.023,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.12508,
    "h": 274
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#38428E
secondary
#B2AB6F
accent
#C455D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38428E

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

Preview Lab → · Contrast checker → · Palette generator →

#38428E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva