#38298D#38298D

#38298D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.157 H 282.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#38298D
RGBrgb(56, 41, 141)
HSLhsl(249, 55%, 36%)
HSVhsv(249, 71%, 55%)
CMYKcmyk(60.3%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.79, 36.02, -53.19)
CIE-LCHlch(24.79, 64.24, 304.10°)
OKLaboklab(36.72% 0.0333 -0.1532)
OKLCHoklch(36.72% 0.157 282.3)
XYZxyz(7.2300, 4.3492, 25.6526)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38298D #7E8D29
analogous
#294C8D #38298D #6A298D
triadic
#38298D #8D3829 #298D38
tetradic
#38298D #8D294C #7E8D29 #298D6A
square
#38298D #8D294C #7E8D29 #298D6A
split-complementary
#38298D #8D6A29 #4C8D29
monochromatic
#120D2E #251B5E #38298D #4B37BC #7160D1

Accessibility & contrast

On white

11.23
#38298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#38298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38298D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38298D#FFFFFF#000000##FFFFFF
##38298D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#014358
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #38298d;
/* rgb */ color: rgb(56, 41, 141);
/* oklch */ color: oklch(36.7% 0.157 282.3);
Tailwind
colors: {
  custom: {
    50: '#7964af',
    500: '#38298d',
    950: '#000000',
  },
}
SCSS
$custom: #38298d;
$custom-light: #7964af;
$custom-dark: #000000;
JSON
{
  "hex": "#38298d",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 249,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.15677,
    "h": 282.3
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#38298D
secondary
#A9B65B
accent
#DE4AC8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #38298D

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

Preview Lab → · Contrast checker → · Palette generator →

#38298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva