#38419A#38419A

#38419A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.144 H 274.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#38419A
RGBrgb(56, 65, 154)
HSLhsl(234, 47%, 41%)
HSVhsv(234, 64%, 60%)
CMYKcmyk(63.6%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.70, 25.22, -49.91)
CIE-LCHlch(31.70, 55.92, 296.81°)
OKLaboklab(42.11% 0.0103 -0.1434)
OKLCHoklch(42.11% 0.144 274.1)
XYZxyz(9.3520, 6.9537, 31.4149)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38419A #9A9138
analogous
#38729A #38419A #60389A
triadic
#38419A #9A3841 #419A38
tetradic
#38419A #9A3872 #9A9138 #389A60
square
#38419A #9A3872 #9A9138 #389A60
split-complementary
#38419A #9A6038 #729A38
monochromatic
#171B40 #282E6D #38419A #505ABF #7D84D0

Accessibility & contrast

On white

8.78
#38419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#38419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38419A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38419A#FFFFFF#000000##FFFFFF
##38419A1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38419a;
/* rgb */ color: rgb(56, 65, 154);
/* oklch */ color: oklch(42.1% 0.144 274.1);
Tailwind
colors: {
  custom: {
    50: '#7975b8',
    500: '#38419a',
    950: '#000000',
  },
}
SCSS
$custom: #38419a;
$custom-light: #7975b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38419a",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 234.49,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.14381,
    "h": 274.1
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#38419A
secondary
#B9B375
accent
#CA51D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #38419A

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

Preview Lab → · Contrast checker → · Palette generator →

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