#38428F#38428F

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

Color values

HEX#38428F
RGBrgb(56, 66, 143)
HSLhsl(233, 44%, 39%)
HSVhsv(233, 61%, 56%)
CMYKcmyk(60.8%, 53.8%, 0%, 43.9%)
CIE-LABlab(31.16, 20.63, -44.07)
CIE-LCHlch(31.16, 48.66, 295.08°)
OKLaboklab(41.45% 0.0087 -0.1262)
OKLCHoklch(41.45% 0.127 274)
XYZxyz(8.5354, 6.7197, 26.8285)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38428F #8F8538
analogous
#386E8F #38428F #5A388F
triadic
#38428F #8F3842 #428F38
tetradic
#38428F #8F386E #8F8538 #388F5A
square
#38428F #8F386E #8F8538 #388F5A
split-complementary
#38428F #8F5A38 #6E8F38
monochromatic
#161937 #272E63 #38428F #4B58B9 #7781CA

Accessibility & contrast

On white

8.96
#38428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38428F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38428F#FFFFFF#000000##FFFFFF
##38428F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38428f;
/* rgb */ color: rgb(56, 66, 143);
/* oklch */ color: oklch(41.5% 0.127 274.0);
Tailwind
colors: {
  custom: {
    50: '#7776b0',
    500: '#38428f',
    950: '#000000',
  },
}
SCSS
$custom: #38428f;
$custom-light: #7776b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38428f",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 233.103,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.12655,
    "h": 274
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#38428F
secondary
#B3AB70
accent
#C554D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #38428F

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

Preview Lab → · Contrast checker → · Palette generator →

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