#38428B#38428B

#38428B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.121 H 274.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#38428B
RGBrgb(56, 66, 139)
HSLhsl(233, 43%, 38%)
HSVhsv(233, 60%, 55%)
CMYKcmyk(59.7%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.88, 19.20, -42.07)
CIE-LCHlch(30.88, 46.24, 294.54°)
OKLaboklab(41.15% 0.0084 -0.1203)
OKLCHoklch(41.15% 0.121 274)
XYZxyz(8.2378, 6.6006, 25.2610)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38428B #8B8138
analogous
#386B8B #38428B #57388B
triadic
#38428B #8B3842 #428B38
tetradic
#38428B #8B386B #8B8138 #388B57
square
#38428B #8B386B #8B8138 #388B57
split-complementary
#38428B #8B5738 #6B8B38
monochromatic
#151934 #262D5F #38428B #4A57B6 #7680C8

Accessibility & contrast

On white

9.05
#38428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#38428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38428B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38428B#FFFFFF#000000##FFFFFF
##38428B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#084589
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38428b;
/* rgb */ color: rgb(56, 66, 139);
/* oklch */ color: oklch(41.1% 0.121 274.0);
Tailwind
colors: {
  custom: {
    50: '#7676ad',
    500: '#38428b',
    950: '#000000',
  },
}
SCSS
$custom: #38428b;
$custom-light: #7676ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38428b",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 232.771,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.12063,
    "h": 274
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#38428B
secondary
#B1A96E
accent
#C355D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38428B

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

Preview Lab → · Contrast checker → · Palette generator →

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