#38419B#38419B

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

Color values

HEX#38419B
RGBrgb(56, 65, 155)
HSLhsl(235, 47%, 41%)
HSVhsv(235, 64%, 61%)
CMYKcmyk(63.9%, 58.1%, 0%, 39.2%)
CIE-LABlab(31.78, 25.58, -50.40)
CIE-LCHlch(31.78, 56.52, 296.91°)
OKLaboklab(42.19% 0.0103 -0.1449)
OKLCHoklch(42.19% 0.145 274.1)
XYZxyz(9.4356, 6.9871, 31.8554)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38419B #9B9238
analogous
#38739B #38419B #61389B
triadic
#38419B #9B3841 #419B38
tetradic
#38419B #9B3873 #9B9238 #389B61
square
#38419B #9B3873 #9B9238 #389B61
split-complementary
#38419B #9B6138 #739B38
monochromatic
#181B41 #282E6E #38419B #505AC0 #7D85D0

Accessibility & contrast

On white

8.76
#38419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#38419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38419B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38419B#FFFFFF#000000##FFFFFF
##38419B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38419b;
/* rgb */ color: rgb(56, 65, 155);
/* oklch */ color: oklch(42.2% 0.145 274.1);
Tailwind
colors: {
  custom: {
    50: '#7a75b9',
    500: '#38419b',
    950: '#000000',
  },
}
SCSS
$custom: #38419b;
$custom-light: #7a75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38419b",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 234.545,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.14523,
    "h": 274.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38419B

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

Preview Lab → · Contrast checker → · Palette generator →

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