#38359B#38359B

#38359B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.161 H 277.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#38359B
RGBrgb(56, 53, 155)
HSLhsl(242, 49%, 41%)
HSVhsv(242, 66%, 61%)
CMYKcmyk(63.9%, 65.8%, 0%, 39.2%)
CIE-LABlab(28.78, 33.34, -55.28)
CIE-LCHlch(28.78, 64.55, 301.09°)
OKLaboklab(39.99% 0.0212 -0.1593)
OKLCHoklch(39.99% 0.161 277.6)
XYZxyz(8.8185, 5.7528, 31.6497)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38359B #989B35
analogous
#35659B #38359B #6B359B
triadic
#38359B #9B3835 #359B38
tetradic
#38359B #9B3565 #989B35 #359B6B
square
#38359B #9B3565 #989B35 #359B6B
split-complementary
#38359B #9B6B35 #659B35
monochromatic
#171640 #28256D #38359B #4F4CC2 #7C79D1

Accessibility & contrast

On white

9.76
#38359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#38359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38359B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38359B#FFFFFF#000000##FFFFFF
##38359B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #38359b;
/* rgb */ color: rgb(56, 53, 155);
/* oklch */ color: oklch(40.0% 0.161 277.6);
Tailwind
colors: {
  custom: {
    50: '#7a6db9',
    500: '#38359b',
    950: '#000000',
  },
}
SCSS
$custom: #38359b;
$custom-light: #7a6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#38359b",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 241.765,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.1607,
    "h": 277.6
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#38359B
secondary
#B8BA72
accent
#D94FD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38359B

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

Preview Lab → · Contrast checker → · Palette generator →

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