#38359D#38359D

#38359D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.163 H 277.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#38359D
RGBrgb(56, 53, 157)
HSLhsl(242, 50%, 41%)
HSVhsv(242, 66%, 62%)
CMYKcmyk(64.3%, 66.2%, 0%, 38.4%)
CIE-LABlab(28.96, 34.02, -56.21)
CIE-LCHlch(28.96, 65.70, 301.18°)
OKLaboklab(40.17% 0.021 -0.162)
OKLCHoklch(40.17% 0.163 277.4)
XYZxyz(8.9878, 5.8206, 32.5416)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38359D #9A9D35
analogous
#35669D #38359D #6C359D
triadic
#38359D #9D3835 #359D38
tetradic
#38359D #9D3566 #9A9D35 #359D6C
square
#38359D #9D3566 #9A9D35 #359D6C
split-complementary
#38359D #9D6C35 #669D35
monochromatic
#171641 #28266F #38359D #504CC3 #7D7AD2

Accessibility & contrast

On white

9.70
#38359D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#38359D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38359D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38359D#FFFFFF#000000##FFFFFF
##38359D1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #38359d;
/* rgb */ color: rgb(56, 53, 157);
/* oklch */ color: oklch(40.2% 0.163 277.4);
Tailwind
colors: {
  custom: {
    50: '#7b6dbb',
    500: '#38359d',
    950: '#000000',
  },
}
SCSS
$custom: #38359d;
$custom-light: #7b6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#38359d",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 157
  },
  "hsl": {
    "h": 241.731,
    "s": 49.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.16338,
    "h": 277.4
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#38359D
secondary
#B9BB73
accent
#D94FD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38359D

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

Preview Lab → · Contrast checker → · Palette generator →

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