#38428C#38428C

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

Color values

HEX#38428C
RGBrgb(56, 66, 140)
HSLhsl(233, 43%, 38%)
HSVhsv(233, 60%, 55%)
CMYKcmyk(60%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.95, 19.56, -42.57)
CIE-LCHlch(30.95, 46.85, 294.68°)
OKLaboklab(41.23% 0.0085 -0.1218)
OKLCHoklch(41.23% 0.122 274)
XYZxyz(8.3112, 6.6300, 25.6476)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38428C #8C8238
analogous
#386C8C #38428C #58388C
triadic
#38428C #8C3842 #428C38
tetradic
#38428C #8C386C #8C8238 #388C58
square
#38428C #8C386C #8C8238 #388C58
split-complementary
#38428C #8C5838 #6C8C38
monochromatic
#151935 #272D60 #38428C #4A57B7 #7680C8

Accessibility & contrast

On white

9.03
#38428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38428C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38428C#FFFFFF#000000##FFFFFF
##38428C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#05458A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38428c;
/* rgb */ color: rgb(56, 66, 140);
/* oklch */ color: oklch(41.2% 0.122 274.0);
Tailwind
colors: {
  custom: {
    50: '#7776ae',
    500: '#38428c',
    950: '#000000',
  },
}
SCSS
$custom: #38428c;
$custom-light: #7776ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38428c",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 232.857,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.12213,
    "h": 274
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38428C

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

Preview Lab → · Contrast checker → · Palette generator →

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