#38349A#38349A

#38349A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.161 H 277.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#38349A
RGBrgb(56, 52, 154)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 66%, 60%)
CMYKcmyk(63.6%, 66.2%, 0%, 39.6%)
CIE-LABlab(28.46, 33.62, -55.20)
CIE-LCHlch(28.46, 64.63, 301.35°)
OKLaboklab(39.72% 0.0221 -0.1591)
OKLCHoklch(39.72% 0.161 277.9)
XYZxyz(8.6897, 5.6291, 31.1942)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38349A #969A34
analogous
#34639A #38349A #6B349A
triadic
#38349A #9A3834 #349A38
tetradic
#38349A #9A3463 #969A34 #349A6B
square
#38349A #9A3463 #969A34 #349A6B
split-complementary
#38349A #9A6B34 #639A34
monochromatic
#17153E #27256C #38349A #4E49C2 #7B77D1

Accessibility & contrast

On white

9.88
#38349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#38349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38349A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38349A#FFFFFF#000000##FFFFFF
##38349A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #38349a;
/* rgb */ color: rgb(56, 52, 154);
/* oklch */ color: oklch(39.7% 0.161 277.9);
Tailwind
colors: {
  custom: {
    50: '#7a6cb9',
    500: '#38349a',
    950: '#000000',
  },
}
SCSS
$custom: #38349a;
$custom-light: #7a6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#38349a",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 242.353,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.16059,
    "h": 277.9
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#38349A
secondary
#B7BA70
accent
#D94FD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38349A

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

Preview Lab → · Contrast checker → · Palette generator →

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