#38499A#38499A

#38499A is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.133 H 271.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#38499A
RGBrgb(56, 73, 154)
HSLhsl(230, 47%, 41%)
HSVhsv(230, 64%, 60%)
CMYKcmyk(63.6%, 52.6%, 0%, 39.6%)
CIE-LABlab(33.85, 19.92, -46.43)
CIE-LCHlch(33.85, 50.53, 293.22°)
OKLaboklab(43.73% 0.0023 -0.1331)
OKLCHoklch(43.73% 0.133 271)
XYZxyz(9.8442, 7.9381, 31.5790)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38499A #9A8938
analogous
#387A9A #38499A #58389A
triadic
#38499A #9A3849 #499A38
tetradic
#38499A #9A387A #9A8938 #389A58
square
#38499A #9A387A #9A8938 #389A58
split-complementary
#38499A #9A5838 #7A9A38
monochromatic
#171E40 #28346D #38499A #5063BF #7D8BD0

Accessibility & contrast

On white

8.12
#38499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#38499A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38499A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38499A#FFFFFF#000000##FFFFFF
##38499A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38499a;
/* rgb */ color: rgb(56, 73, 154);
/* oklch */ color: oklch(43.7% 0.133 271.0);
Tailwind
colors: {
  custom: {
    50: '#797bb8',
    500: '#38499a',
    950: '#000000',
  },
}
SCSS
$custom: #38499a;
$custom-light: #797bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#38499a",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 229.592,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.13312,
    "h": 271
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#38499A
secondary
#B9AD75
accent
#BF51D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #38499A

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

Preview Lab → · Contrast checker → · Palette generator →

#38499A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva