#38359F#38359F

#38359F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.166 H 277.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#38359F
RGBrgb(56, 53, 159)
HSLhsl(242, 50%, 42%)
HSVhsv(242, 67%, 62%)
CMYKcmyk(64.8%, 66.7%, 0%, 37.6%)
CIE-LABlab(29.13, 34.71, -57.14)
CIE-LCHlch(29.13, 66.85, 301.28°)
OKLaboklab(40.35% 0.0208 -0.1647)
OKLCHoklch(40.35% 0.166 277.2)
XYZxyz(9.1600, 5.8894, 33.4482)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38359F #9C9F35
analogous
#35679F #38359F #6D359F
triadic
#38359F #9F3835 #359F38
tetradic
#38359F #9F3567 #9C9F35 #359F6D
square
#38359F #9F3567 #9C9F35 #359F6D
split-complementary
#38359F #9F6D35 #679F35
monochromatic
#181643 #282671 #38359F #514DC4 #7E7BD3

Accessibility & contrast

On white

9.64
#38359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#38359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38359F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38359F#FFFFFF#000000##FFFFFF
##38359F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #38359f;
/* rgb */ color: rgb(56, 53, 159);
/* oklch */ color: oklch(40.4% 0.166 277.2);
Tailwind
colors: {
  custom: {
    50: '#7b6dbc',
    500: '#38359f',
    950: '#000000',
  },
}
SCSS
$custom: #38359f;
$custom-light: #7b6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#38359f",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 241.698,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.16604,
    "h": 277.2
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#38359F
secondary
#BABC74
accent
#DA4ED6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38359F

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

Preview Lab → · Contrast checker → · Palette generator →

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