#38299B#38299B

#38299B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.175 H 280.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#38299B
RGBrgb(56, 41, 155)
HSLhsl(248, 58%, 38%)
HSVhsv(248, 74%, 61%)
CMYKcmyk(63.9%, 73.5%, 0%, 39.2%)
CIE-LABlab(26.14, 40.55, -59.61)
CIE-LCHlch(26.14, 72.10, 304.22°)
OKLaboklab(38.08% 0.0306 -0.172)
OKLCHoklch(38.08% 0.175 280.1)
XYZxyz(8.3383, 4.7925, 31.4896)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38299B #8C9B29
analogous
#29539B #38299B #71299B
triadic
#38299B #9B3829 #299B38
tetradic
#38299B #9B2953 #8C9B29 #299B71
square
#38299B #9B2953 #8C9B29 #299B71
split-complementary
#38299B #9B7129 #539B29
monochromatic
#150F3A #271C6B #38299B #4A37CA #7667D7

Accessibility & contrast

On white

10.72
#38299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#38299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38299B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38299B#FFFFFF#000000##FFFFFF
##38299B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38299b;
/* rgb */ color: rgb(56, 41, 155);
/* oklch */ color: oklch(38.1% 0.175 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c65ba',
    500: '#38299b',
    950: '#000000',
  },
}
SCSS
$custom: #38299b;
$custom-light: #7c65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38299b",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 247.895,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38083,
    "c": 0.17469,
    "h": 280.1
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#38299B
secondary
#B1BD63
accent
#E146CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #38299B

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

Preview Lab → · Contrast checker → · Palette generator →

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