#38359A#38359A

#38359A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.159 H 277.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#38359A
RGBrgb(56, 53, 154)
HSLhsl(242, 49%, 41%)
HSVhsv(242, 66%, 60%)
CMYKcmyk(63.6%, 65.6%, 0%, 39.6%)
CIE-LABlab(28.69, 32.99, -54.81)
CIE-LCHlch(28.69, 63.97, 301.05°)
OKLaboklab(39.9% 0.0213 -0.1579)
OKLCHoklch(39.9% 0.159 277.7)
XYZxyz(8.7348, 5.7194, 31.2092)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38359A #979A35
analogous
#35649A #38359A #6A359A
triadic
#38359A #9A3835 #359A38
tetradic
#38359A #9A3564 #979A35 #359A6A
square
#38359A #9A3564 #979A35 #359A6A
split-complementary
#38359A #9A6A35 #649A35
monochromatic
#17163F #27256C #38359A #4F4BC1 #7B79D1

Accessibility & contrast

On white

9.79
#38359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#38359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38359A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38359A#FFFFFF#000000##FFFFFF
##38359A1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #38359a;
/* rgb */ color: rgb(56, 53, 154);
/* oklch */ color: oklch(39.9% 0.159 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a6db9',
    500: '#38359a',
    950: '#000000',
  },
}
SCSS
$custom: #38359a;
$custom-light: #7a6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#38359a",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 241.782,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.15934,
    "h": 277.7
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#38359A
secondary
#B7B971
accent
#D84FD4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38359A

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

Preview Lab → · Contrast checker → · Palette generator →

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