#38479E#38479E

#38479E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.142 H 271.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#38479E
RGBrgb(56, 71, 158)
HSLhsl(231, 48%, 42%)
HSVhsv(231, 65%, 62%)
CMYKcmyk(64.6%, 55.1%, 0%, 38%)
CIE-LABlab(33.59, 22.69, -49.27)
CIE-LCHlch(33.59, 54.24, 294.73°)
OKLaboklab(43.62% 0.0046 -0.1415)
OKLCHoklch(43.62% 0.142 271.9)
XYZxyz(10.0536, 7.8150, 33.3198)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38479E #9E8F38
analogous
#387A9E #38479E #5C389E
triadic
#38479E #9E3847 #479E38
tetradic
#38479E #9E387A #9E8F38 #389E5C
square
#38479E #9E387A #9E8F38 #389E5C
split-complementary
#38479E #9E5C38 #7A9E38
monochromatic
#181E44 #283371 #38479E #5262C2 #7F8BD2

Accessibility & contrast

On white

8.19
#38479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#38479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38479E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38479E#FFFFFF#000000##FFFFFF
##38479E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38479e;
/* rgb */ color: rgb(56, 71, 158);
/* oklch */ color: oklch(43.6% 0.142 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a7abb',
    500: '#38479e',
    950: '#000000',
  },
}
SCSS
$custom: #38479e;
$custom-light: #7a7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#38479e",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 231.176,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43624,
    "c": 0.14155,
    "h": 271.9
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#38479E
secondary
#BBB177
accent
#C351D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38479E

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

Preview Lab → · Contrast checker → · Palette generator →

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