#38348E#38348E

#38348E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.144 H 279.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#38348E
RGBrgb(56, 52, 142)
HSLhsl(243, 46%, 38%)
HSVhsv(243, 63%, 56%)
CMYKcmyk(60.6%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.43, 29.51, -49.50)
CIE-LCHlch(27.43, 57.63, 300.80°)
OKLaboklab(38.66% 0.0231 -0.1423)
OKLCHoklch(38.66% 0.144 279.2)
XYZxyz(7.7398, 5.2492, 26.1913)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38348E #8A8E34
analogous
#345D8E #38348E #65348E
triadic
#38348E #8E3834 #348E38
tetradic
#38348E #8E345D #8A8E34 #348E65
square
#38348E #8E345D #8A8E34 #348E65
split-complementary
#38348E #8E6534 #5D8E34
monochromatic
#151334 #262461 #38348E #4A44BB #7571CB

Accessibility & contrast

On white

10.24
#38348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#38348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38348E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38348E#FFFFFF#000000##FFFFFF
##38348E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38348e;
/* rgb */ color: rgb(56, 52, 142);
/* oklch */ color: oklch(38.7% 0.144 279.2);
Tailwind
colors: {
  custom: {
    50: '#786cb0',
    500: '#38348e',
    950: '#000000',
  },
}
SCSS
$custom: #38348e;
$custom-light: #786cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#38348e",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 242.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38658,
    "c": 0.14419,
    "h": 279.2
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#38348E
secondary
#B0B36A
accent
#D652D0
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #38348E

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

Preview Lab → · Contrast checker → · Palette generator →

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