#38359E#38359E

#38359E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.165 H 277.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#38359E
RGBrgb(56, 53, 158)
HSLhsl(242, 50%, 41%)
HSVhsv(242, 66%, 62%)
CMYKcmyk(64.6%, 66.5%, 0%, 38%)
CIE-LABlab(29.04, 34.36, -56.67)
CIE-LCHlch(29.04, 66.28, 301.23°)
OKLaboklab(40.26% 0.0209 -0.1634)
OKLCHoklch(40.26% 0.165 277.3)
XYZxyz(9.0735, 5.8548, 32.9931)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38359E #9B9E35
analogous
#35679E #38359E #6D359E
triadic
#38359E #9E3835 #359E38
tetradic
#38359E #9E3567 #9B9E35 #359E6D
square
#38359E #9E3567 #9B9E35 #359E6D
split-complementary
#38359E #9E6D35 #679E35
monochromatic
#181642 #282670 #38359E #504DC3 #7D7BD3

Accessibility & contrast

On white

9.67
#38359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#38359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38359E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38359E#FFFFFF#000000##FFFFFF
##38359E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38359e;
/* rgb */ color: rgb(56, 53, 158);
/* oklch */ color: oklch(40.3% 0.165 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b6dbc',
    500: '#38359e',
    950: '#000000',
  },
}
SCSS
$custom: #38359e;
$custom-light: #7b6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#38359e",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 241.714,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.16472,
    "h": 277.3
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38359E

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

Preview Lab → · Contrast checker → · Palette generator →

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