#38499E#38499E

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

Color values

HEX#38499E
RGBrgb(56, 73, 158)
HSLhsl(230, 48%, 42%)
HSVhsv(230, 65%, 62%)
CMYKcmyk(64.6%, 53.8%, 0%, 38%)
CIE-LABlab(34.14, 21.37, -48.39)
CIE-LCHlch(34.14, 52.90, 293.83°)
OKLaboklab(44.03% 0.0027 -0.1389)
OKLCHoklch(44.03% 0.139 271.1)
XYZxyz(10.1829, 8.0736, 33.3629)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38499E #9E8D38
analogous
#387C9E #38499E #5A389E
triadic
#38499E #9E3849 #499E38
tetradic
#38499E #9E387C #9E8D38 #389E5A
square
#38499E #9E387C #9E8D38 #389E5A
split-complementary
#38499E #9E5A38 #7C9E38
monochromatic
#181F44 #283471 #38499E #5264C2 #7F8DD2

Accessibility & contrast

On white

8.03
#38499E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38499E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38499E#FFFFFF#000000##FFFFFF
##38499E1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38499e;
/* rgb */ color: rgb(56, 73, 158);
/* oklch */ color: oklch(44.0% 0.139 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a7bbb',
    500: '#38499e',
    950: '#000000',
  },
}
SCSS
$custom: #38499e;
$custom-light: #7a7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#38499e",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 230,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4403,
    "c": 0.1389,
    "h": 271.1
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#38499E
secondary
#BBB077
accent
#C151D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38499E

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

Preview Lab → · Contrast checker → · Palette generator →

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