#38429A#38429A

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

Color values

HEX#38429A
RGBrgb(56, 66, 154)
HSLhsl(234, 47%, 41%)
HSVhsv(234, 64%, 60%)
CMYKcmyk(63.6%, 57.1%, 0%, 39.6%)
CIE-LABlab(31.96, 24.56, -49.49)
CIE-LCHlch(31.96, 55.25, 296.40°)
OKLaboklab(42.31% 0.0093 -0.1422)
OKLCHoklch(42.31% 0.142 273.7)
XYZxyz(9.4099, 7.0695, 31.4343)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38429A #9A9038
analogous
#38739A #38429A #5F389A
triadic
#38429A #9A3842 #429A38
tetradic
#38429A #9A3873 #9A9038 #389A5F
square
#38429A #9A3873 #9A9038 #389A5F
split-complementary
#38429A #9A5F38 #739A38
monochromatic
#171C40 #282F6D #38429A #505BBF #7D85D0

Accessibility & contrast

On white

8.70
#38429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#38429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38429A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38429A#FFFFFF#000000##FFFFFF
##38429A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38429a;
/* rgb */ color: rgb(56, 66, 154);
/* oklch */ color: oklch(42.3% 0.142 273.7);
Tailwind
colors: {
  custom: {
    50: '#7976b8',
    500: '#38429a',
    950: '#000000',
  },
}
SCSS
$custom: #38429a;
$custom-light: #7976b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38429a",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 233.878,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42309,
    "c": 0.14248,
    "h": 273.7
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#38429A
secondary
#B9B275
accent
#C951D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #38429A

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

Preview Lab → · Contrast checker → · Palette generator →

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