#38429F#38429F

#38429F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.150 H 273.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#38429F
RGBrgb(56, 66, 159)
HSLhsl(234, 48%, 42%)
HSVhsv(234, 65%, 62%)
CMYKcmyk(64.8%, 58.5%, 0%, 37.6%)
CIE-LABlab(32.35, 26.35, -51.90)
CIE-LCHlch(32.35, 58.20, 296.92°)
OKLaboklab(42.71% 0.0094 -0.1493)
OKLCHoklch(42.71% 0.15 273.6)
XYZxyz(9.8350, 7.2395, 33.6732)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38429F #9F9538
analogous
#38759F #38429F #62389F
triadic
#38429F #9F3842 #429F38
tetradic
#38429F #9F3875 #9F9538 #389F62
square
#38429F #9F3875 #9F9538 #389F62
split-complementary
#38429F #9F6238 #759F38
monochromatic
#181C44 #282F72 #38429F #525DC2 #7F87D2

Accessibility & contrast

On white

8.58
#38429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#38429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38429F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38429F#FFFFFF#000000##FFFFFF
##38429F1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38429f;
/* rgb */ color: rgb(56, 66, 159);
/* oklch */ color: oklch(42.7% 0.150 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a76bc',
    500: '#38429f',
    950: '#000000',
  },
}
SCSS
$custom: #38429f;
$custom-light: #7a76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38429f",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 234.175,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42714,
    "c": 0.14956,
    "h": 273.6
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#38429F
secondary
#BBB577
accent
#CA50D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #38429F

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

Preview Lab → · Contrast checker → · Palette generator →

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