#38419F#38419F

#38419F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.151 H 273.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#38419F
RGBrgb(56, 65, 159)
HSLhsl(235, 48%, 42%)
HSVhsv(235, 65%, 62%)
CMYKcmyk(64.8%, 59.1%, 0%, 37.6%)
CIE-LABlab(32.09, 27.00, -52.32)
CIE-LCHlch(32.09, 58.87, 297.30°)
OKLaboklab(42.52% 0.0103 -0.1505)
OKLCHoklch(42.52% 0.151 273.9)
XYZxyz(9.7771, 7.1237, 33.6539)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38419F #9F9638
analogous
#38759F #38419F #62389F
triadic
#38419F #9F3841 #419F38
tetradic
#38419F #9F3875 #9F9638 #389F62
square
#38419F #9F3875 #9F9638 #389F62
split-complementary
#38419F #9F6238 #759F38
monochromatic
#181C44 #282E72 #38419F #525CC2 #7F87D2

Accessibility & contrast

On white

8.66
#38419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#38419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38419F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38419F#FFFFFF#000000##FFFFFF
##38419F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38419f;
/* rgb */ color: rgb(56, 65, 159);
/* oklch */ color: oklch(42.5% 0.151 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a75bc',
    500: '#38419f',
    950: '#000000',
  },
}
SCSS
$custom: #38419f;
$custom-light: #7a75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38419f",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 234.757,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.15086,
    "h": 273.9
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#38419F
secondary
#BBB677
accent
#CC50D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #38419F

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

Preview Lab → · Contrast checker → · Palette generator →

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