#38489D#38489D

#38489D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.139 H 271.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#38489D
RGBrgb(56, 72, 157)
HSLhsl(230, 47%, 42%)
HSVhsv(230, 64%, 62%)
CMYKcmyk(64.3%, 54.1%, 0%, 38.4%)
CIE-LABlab(33.79, 21.67, -48.34)
CIE-LCHlch(33.79, 52.98, 294.15°)
OKLaboklab(43.75% 0.0036 -0.1387)
OKLCHoklch(43.75% 0.139 271.5)
XYZxyz(10.0320, 7.9089, 32.8897)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38489D #9D8D38
analogous
#387B9D #38489D #5B389D
triadic
#38489D #9D3848 #489D38
tetradic
#38489D #9D387B #9D8D38 #389D5B
square
#38489D #9D387B #9D8D38 #389D5B
split-complementary
#38489D #9D5B38 #7B9D38
monochromatic
#181F43 #283370 #38489D #5163C1 #7E8BD1

Accessibility & contrast

On white

8.13
#38489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#38489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38489D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38489D#FFFFFF#000000##FFFFFF
##38489D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38489d;
/* rgb */ color: rgb(56, 72, 157);
/* oklch */ color: oklch(43.7% 0.139 271.5);
Tailwind
colors: {
  custom: {
    50: '#797aba',
    500: '#38489d',
    950: '#000000',
  },
}
SCSS
$custom: #38489d;
$custom-light: #797aba;
$custom-dark: #000000;
JSON
{
  "hex": "#38489d",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 230.495,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.13879,
    "h": 271.5
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#38489D
secondary
#BAB076
accent
#C251D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38489D

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

Preview Lab → · Contrast checker → · Palette generator →

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