#38359C#38359C

#38359C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.162 H 277.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#38359C
RGBrgb(56, 53, 156)
HSLhsl(242, 49%, 41%)
HSVhsv(242, 66%, 61%)
CMYKcmyk(64.1%, 66%, 0%, 38.8%)
CIE-LABlab(28.87, 33.68, -55.74)
CIE-LCHlch(28.87, 65.13, 301.14°)
OKLaboklab(40.08% 0.0211 -0.1607)
OKLCHoklch(40.08% 0.162 277.5)
XYZxyz(8.9028, 5.7865, 32.0938)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38359C #999C35
analogous
#35659C #38359C #6B359C
triadic
#38359C #9C3835 #359C38
tetradic
#38359C #9C3565 #999C35 #359C6B
square
#38359C #9C3565 #999C35 #359C6B
split-complementary
#38359C #9C6B35 #659C35
monochromatic
#171641 #28256E #38359C #4F4CC2 #7C7AD2

Accessibility & contrast

On white

9.73
#38359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38359C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38359C#FFFFFF#000000##FFFFFF
##38359C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #38359c;
/* rgb */ color: rgb(56, 53, 156);
/* oklch */ color: oklch(40.1% 0.162 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b6dba',
    500: '#38359c',
    950: '#000000',
  },
}
SCSS
$custom: #38359c;
$custom-light: #7b6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#38359c",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 241.748,
    "s": 49.282,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40077,
    "c": 0.16203,
    "h": 277.5
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38359C

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

Preview Lab → · Contrast checker → · Palette generator →

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