#38428D#38428D

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

Color values

HEX#38428D
RGBrgb(56, 66, 141)
HSLhsl(233, 43%, 39%)
HSVhsv(233, 60%, 55%)
CMYKcmyk(60.3%, 53.2%, 0%, 44.7%)
CIE-LABlab(31.02, 19.92, -43.07)
CIE-LCHlch(31.02, 47.45, 294.82°)
OKLaboklab(41.3% 0.0086 -0.1233)
OKLCHoklch(41.3% 0.124 274)
XYZxyz(8.3852, 6.6596, 26.0377)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38428D #8D8338
analogous
#386C8D #38428D #58388D
triadic
#38428D #8D3842 #428D38
tetradic
#38428D #8D386C #8D8338 #388D58
square
#38428D #8D386C #8D8338 #388D58
split-complementary
#38428D #8D5838 #6C8D38
monochromatic
#151935 #272D61 #38428D #4B58B7 #7780C9

Accessibility & contrast

On white

9.01
#38428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#38428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38428D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38428D#FFFFFF#000000##FFFFFF
##38428D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#02458B
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38428d;
/* rgb */ color: rgb(56, 66, 141);
/* oklch */ color: oklch(41.3% 0.124 274.0);
Tailwind
colors: {
  custom: {
    50: '#7776af',
    500: '#38428d',
    950: '#000000',
  },
}
SCSS
$custom: #38428d;
$custom-light: #7776af;
$custom-dark: #000000;
JSON
{
  "hex": "#38428d",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 232.941,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.413,
    "c": 0.12361,
    "h": 274
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#38428D
secondary
#B2AA6F
accent
#C455D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38428D

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

Preview Lab → · Contrast checker → · Palette generator →

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