#38358B#38358B

#38358B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.139 H 279.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#38358B
RGBrgb(56, 53, 139)
HSLhsl(242, 45%, 38%)
HSVhsv(242, 62%, 55%)
CMYKcmyk(59.7%, 61.9%, 0%, 45.5%)
CIE-LABlab(27.44, 27.83, -47.64)
CIE-LCHlch(27.44, 55.17, 300.29°)
OKLaboklab(38.58% 0.0223 -0.1368)
OKLCHoklch(38.58% 0.139 279.2)
XYZxyz(7.5627, 5.2505, 25.0360)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38358B #888B35
analogous
#355D8B #38358B #63358B
triadic
#38358B #8B3835 #358B38
tetradic
#38358B #8B355D #888B35 #358B63
square
#38358B #8B355D #888B35 #358B63
split-complementary
#38358B #8B6335 #5D8B35
monochromatic
#141332 #26245F #38358B #4A46B7 #7471C9

Accessibility & contrast

On white

10.24
#38358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#38358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38358B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38358B#FFFFFF#000000##FFFFFF
##38358B1.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)
#00448E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#034A5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38358b;
/* rgb */ color: rgb(56, 53, 139);
/* oklch */ color: oklch(38.6% 0.139 279.2);
Tailwind
colors: {
  custom: {
    50: '#776cae',
    500: '#38358b',
    950: '#000000',
  },
}
SCSS
$custom: #38358b;
$custom-light: #776cae;
$custom-dark: #000000;
JSON
{
  "hex": "#38358b",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 242.093,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.13865,
    "h": 279.2
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#38358B
secondary
#AFB16A
accent
#D453D0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #38358B

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

Preview Lab → · Contrast checker → · Palette generator →

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