#38429C#38429C

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

Color values

HEX#38429C
RGBrgb(56, 66, 156)
HSLhsl(234, 47%, 42%)
HSVhsv(234, 64%, 61%)
CMYKcmyk(64.1%, 57.7%, 0%, 38.8%)
CIE-LABlab(32.12, 25.28, -50.45)
CIE-LCHlch(32.12, 56.43, 296.61°)
OKLaboklab(42.47% 0.0094 -0.145)
OKLCHoklch(42.47% 0.145 273.7)
XYZxyz(9.5779, 7.1367, 32.3188)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38429C #9C9238
analogous
#38749C #38429C #60389C
triadic
#38429C #9C3842 #429C38
tetradic
#38429C #9C3874 #9C9238 #389C60
square
#38429C #9C3874 #9C9238 #389C60
split-complementary
#38429C #9C6038 #749C38
monochromatic
#181C42 #282F6F #38429C #515CC0 #7E86D1

Accessibility & contrast

On white

8.65
#38429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#38429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38429C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38429C#FFFFFF#000000##FFFFFF
##38429C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38429c;
/* rgb */ color: rgb(56, 66, 156);
/* oklch */ color: oklch(42.5% 0.145 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a76ba',
    500: '#38429c',
    950: '#000000',
  },
}
SCSS
$custom: #38429c;
$custom-light: #7a76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38429c",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 234,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.14532,
    "h": 273.7
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#38429C
secondary
#BAB376
accent
#C951D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #38429C

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

Preview Lab → · Contrast checker → · Palette generator →

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