#38429B#38429B

#38429B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.144 H 273.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#38429B
RGBrgb(56, 66, 155)
HSLhsl(234, 47%, 41%)
HSVhsv(234, 64%, 61%)
CMYKcmyk(63.9%, 57.4%, 0%, 39.2%)
CIE-LABlab(32.04, 24.92, -49.97)
CIE-LCHlch(32.04, 55.84, 296.50°)
OKLaboklab(42.39% 0.0093 -0.1436)
OKLCHoklch(42.39% 0.144 273.7)
XYZxyz(9.4935, 7.1029, 31.8747)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38429B #9B9138
analogous
#38749B #38429B #60389B
triadic
#38429B #9B3842 #429B38
tetradic
#38429B #9B3874 #9B9138 #389B60
square
#38429B #9B3874 #9B9138 #389B60
split-complementary
#38429B #9B6038 #749B38
monochromatic
#181C41 #282F6E #38429B #505CC0 #7D86D0

Accessibility & contrast

On white

8.67
#38429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#38429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38429B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38429B#FFFFFF#000000##FFFFFF
##38429B1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38429b;
/* rgb */ color: rgb(56, 66, 155);
/* oklch */ color: oklch(42.4% 0.144 273.7);
Tailwind
colors: {
  custom: {
    50: '#7976b9',
    500: '#38429b',
    950: '#000000',
  },
}
SCSS
$custom: #38429b;
$custom-light: #7976b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38429b",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 233.939,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.1439,
    "h": 273.7
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#38429B
secondary
#B9B375
accent
#C951D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #38429B

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

Preview Lab → · Contrast checker → · Palette generator →

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