#38499D#38499D

#38499D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.137 H 271.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#38499D
RGBrgb(56, 73, 157)
HSLhsl(230, 47%, 42%)
HSVhsv(230, 64%, 62%)
CMYKcmyk(64.3%, 53.5%, 0%, 38.4%)
CIE-LABlab(34.06, 21.01, -47.90)
CIE-LCHlch(34.06, 52.31, 293.68°)
OKLaboklab(43.95% 0.0026 -0.1374)
OKLCHoklch(43.95% 0.137 271.1)
XYZxyz(10.0972, 8.0393, 32.9114)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38499D #9D8C38
analogous
#387C9D #38499D #5A389D
triadic
#38499D #9D3849 #499D38
tetradic
#38499D #9D387C #9D8C38 #389D5A
square
#38499D #9D387C #9D8C38 #389D5A
split-complementary
#38499D #9D5A38 #7C9D38
monochromatic
#181F43 #283470 #38499D #5164C1 #7E8CD1

Accessibility & contrast

On white

8.05
#38499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#38499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38499D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38499D#FFFFFF#000000##FFFFFF
##38499D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38499d;
/* rgb */ color: rgb(56, 73, 157);
/* oklch */ color: oklch(44.0% 0.137 271.1);
Tailwind
colors: {
  custom: {
    50: '#797bba',
    500: '#38499d',
    950: '#000000',
  },
}
SCSS
$custom: #38499d;
$custom-light: #797bba;
$custom-dark: #000000;
JSON
{
  "hex": "#38499d",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 229.901,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.13746,
    "h": 271.1
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#38499D
secondary
#BAAF76
accent
#C051D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38499D

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

Preview Lab → · Contrast checker → · Palette generator →

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