#38298E#38298E

#38298E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.158 H 282.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#38298E
RGBrgb(56, 41, 142)
HSLhsl(249, 55%, 36%)
HSVhsv(249, 71%, 56%)
CMYKcmyk(60.6%, 71.1%, 0%, 44.3%)
CIE-LABlab(24.89, 36.34, -53.66)
CIE-LCHlch(24.89, 64.81, 304.11°)
OKLaboklab(36.81% 0.0331 -0.1546)
OKLCHoklch(36.81% 0.158 282.1)
XYZxyz(7.3048, 4.3791, 26.0463)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38298E #7F8E29
analogous
#294C8E #38298E #6A298E
triadic
#38298E #8E3829 #298E38
tetradic
#38298E #8E294C #7F8E29 #298E6A
square
#38298E #8E294C #7F8E29 #298E6A
split-complementary
#38298E #8E6A29 #4C8E29
monochromatic
#130E2F #251B5F #38298E #4B37BD #7160D1

Accessibility & contrast

On white

11.19
#38298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38298E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38298E#FFFFFF#000000##FFFFFF
##38298E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #38298e;
/* rgb */ color: rgb(56, 41, 142);
/* oklch */ color: oklch(36.8% 0.158 282.1);
Tailwind
colors: {
  custom: {
    50: '#7964b0',
    500: '#38298e',
    950: '#000000',
  },
}
SCSS
$custom: #38298e;
$custom-light: #7964b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38298e",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 248.911,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36813,
    "c": 0.15807,
    "h": 282.1
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#38298E
secondary
#A9B75C
accent
#DF49C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #38298E

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

Preview Lab → · Contrast checker → · Palette generator →

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