#38358F#38358F

#38358F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.144 H 278.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#38358F
RGBrgb(56, 53, 143)
HSLhsl(242, 46%, 38%)
HSVhsv(242, 63%, 56%)
CMYKcmyk(60.8%, 62.9%, 0%, 43.9%)
CIE-LABlab(27.76, 29.21, -49.58)
CIE-LCHlch(27.76, 57.54, 300.50°)
OKLaboklab(38.93% 0.0221 -0.1426)
OKLCHoklch(38.93% 0.144 278.8)
XYZxyz(7.8603, 5.3696, 26.6035)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38358F #8C8F35
analogous
#355F8F #38358F #65358F
triadic
#38358F #8F3835 #358F38
tetradic
#38358F #8F355F #8C8F35 #358F65
square
#38358F #8F355F #8C8F35 #358F65
split-complementary
#38358F #8F6535 #5F8F35
monochromatic
#151436 #272462 #38358F #4A47BB #7673CB

Accessibility & contrast

On white

10.13
#38358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#38358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38358F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38358F#FFFFFF#000000##FFFFFF
##38358F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38358f;
/* rgb */ color: rgb(56, 53, 143);
/* oklch */ color: oklch(38.9% 0.144 278.8);
Tailwind
colors: {
  custom: {
    50: '#786cb1',
    500: '#38358f',
    950: '#000000',
  },
}
SCSS
$custom: #38358f;
$custom-light: #786cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#38358f",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 242,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38926,
    "c": 0.14426,
    "h": 278.8
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#38358F
secondary
#B1B46C
accent
#D652D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38358F

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

Preview Lab → · Contrast checker → · Palette generator →

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