#38299F#38299F

#38299F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.180 H 279.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#38299F
RGBrgb(56, 41, 159)
HSLhsl(248, 59%, 39%)
HSVhsv(248, 74%, 62%)
CMYKcmyk(64.8%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.53, 41.83, -61.40)
CIE-LCHlch(26.53, 74.30, 304.27°)
OKLaboklab(38.48% 0.0297 -0.1772)
OKLCHoklch(38.48% 0.18 279.5)
XYZxyz(8.6798, 4.9291, 33.2882)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38299F #909F29
analogous
#29559F #38299F #73299F
triadic
#38299F #9F3829 #299F38
tetradic
#38299F #9F2955 #909F29 #299F73
square
#38299F #9F2955 #909F29 #299F73
split-complementary
#38299F #9F7329 #559F29
monochromatic
#16103E #271C6E #38299F #4C39CC #786AD9

Accessibility & contrast

On white

10.57
#38299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#38299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38299F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38299F#FFFFFF#000000##FFFFFF
##38299F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #38299f;
/* rgb */ color: rgb(56, 41, 159);
/* oklch */ color: oklch(38.5% 0.180 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c65bc',
    500: '#38299f',
    950: '#000000',
  },
}
SCSS
$custom: #38299f;
$custom-light: #7c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38299f",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 247.627,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.17969,
    "h": 279.5
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#38299F
secondary
#B4BF65
accent
#E246CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #38299F

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

Preview Lab → · Contrast checker → · Palette generator →

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