#38358C#38358C

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

Color values

HEX#38358C
RGBrgb(56, 53, 140)
HSLhsl(242, 45%, 38%)
HSVhsv(242, 62%, 55%)
CMYKcmyk(60%, 62.1%, 0%, 45.1%)
CIE-LABlab(27.52, 28.17, -48.12)
CIE-LCHlch(27.52, 55.76, 300.34°)
OKLaboklab(38.67% 0.0222 -0.1383)
OKLCHoklch(38.67% 0.14 279.1)
XYZxyz(7.6361, 5.2799, 25.4226)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38358C #898C35
analogous
#355D8C #38358C #63358C
triadic
#38358C #8C3835 #358C38
tetradic
#38358C #8C355D #898C35 #358C63
square
#38358C #8C355D #898C35 #358C63
split-complementary
#38358C #8C6335 #5D8C35
monochromatic
#141333 #262460 #38358C #4A46B8 #7572CA

Accessibility & contrast

On white

10.21
#38358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#38358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38358C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38358C#FFFFFF#000000##FFFFFF
##38358C1.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)
#00448F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38358c;
/* rgb */ color: rgb(56, 53, 140);
/* oklch */ color: oklch(38.7% 0.140 279.1);
Tailwind
colors: {
  custom: {
    50: '#786cae',
    500: '#38358c',
    950: '#000000',
  },
}
SCSS
$custom: #38358c;
$custom-light: #786cae;
$custom-dark: #000000;
JSON
{
  "hex": "#38358c",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 242.069,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.14006,
    "h": 279.1
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#38358C
secondary
#AFB26B
accent
#D553D0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #38358C

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

Preview Lab → · Contrast checker → · Palette generator →

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