#38298F#38298F

#38298F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.159 H 281.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#38298F
RGBrgb(56, 41, 143)
HSLhsl(249, 55%, 36%)
HSVhsv(249, 71%, 56%)
CMYKcmyk(60.8%, 71.3%, 0%, 43.9%)
CIE-LABlab(24.98, 36.67, -54.12)
CIE-LCHlch(24.98, 65.38, 304.12°)
OKLaboklab(36.91% 0.033 -0.1559)
OKLCHoklch(36.91% 0.159 281.9)
XYZxyz(7.3802, 4.4093, 26.4435)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38298F #808F29
analogous
#294D8F #38298F #6B298F
triadic
#38298F #8F3829 #298F38
tetradic
#38298F #8F294D #808F29 #298F6B
square
#38298F #8F294D #808F29 #298F6B
split-complementary
#38298F #8F6B29 #4D8F29
monochromatic
#130E30 #251B5F #38298F #4B37BF #7161D2

Accessibility & contrast

On white

11.16
#38298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#38298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38298F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38298F#FFFFFF#000000##FFFFFF
##38298F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #38298f;
/* rgb */ color: rgb(56, 41, 143);
/* oklch */ color: oklch(36.9% 0.159 281.9);
Tailwind
colors: {
  custom: {
    50: '#7964b1',
    500: '#38298f',
    950: '#000000',
  },
}
SCSS
$custom: #38298f;
$custom-light: #7964b1;
$custom-dark: #000000;
JSON
{
  "hex": "#38298f",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 248.824,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36909,
    "c": 0.15936,
    "h": 281.9
  },
  "luminance": 0.0441
}

Semantic roles & 50–950 ramp

primary
#38298F
secondary
#AAB75C
accent
#DF49C9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #38298F

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

Preview Lab → · Contrast checker → · Palette generator →

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