#38348F#38348F

#38348F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.146 H 279.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#38348F
RGBrgb(56, 52, 143)
HSLhsl(243, 47%, 38%)
HSVhsv(243, 64%, 56%)
CMYKcmyk(60.8%, 63.6%, 0%, 43.9%)
CIE-LABlab(27.52, 29.85, -49.98)
CIE-LCHlch(27.52, 58.22, 300.85°)
OKLaboklab(38.75% 0.023 -0.1437)
OKLCHoklch(38.75% 0.146 279.1)
XYZxyz(7.8152, 5.2793, 26.5885)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38348F #8B8F34
analogous
#345D8F #38348F #65348F
triadic
#38348F #8F3834 #348F38
tetradic
#38348F #8F345D #8B8F34 #348F65
square
#38348F #8F345D #8B8F34 #348F65
split-complementary
#38348F #8F6534 #5D8F34
monochromatic
#151335 #262462 #38348F #4A45BB #7672CC

Accessibility & contrast

On white

10.21
#38348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#38348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38348F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38348F#FFFFFF#000000##FFFFFF
##38348F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38348f;
/* rgb */ color: rgb(56, 52, 143);
/* oklch */ color: oklch(38.7% 0.146 279.1);
Tailwind
colors: {
  custom: {
    50: '#786cb1',
    500: '#38348f',
    950: '#000000',
  },
}
SCSS
$custom: #38348f;
$custom-light: #786cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#38348f",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 242.637,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.14558,
    "h": 279.1
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#38348F
secondary
#B1B46B
accent
#D651D0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38348F

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

Preview Lab → · Contrast checker → · Palette generator →

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