#38489B#38489B

#38489B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.136 H 271.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#38489B
RGBrgb(56, 72, 155)
HSLhsl(230, 47%, 41%)
HSVhsv(230, 64%, 61%)
CMYKcmyk(63.9%, 53.5%, 0%, 39.2%)
CIE-LABlab(33.65, 20.95, -47.37)
CIE-LCHlch(33.65, 51.79, 293.86°)
OKLaboklab(43.6% 0.0034 -0.1359)
OKLCHoklch(43.6% 0.136 271.4)
XYZxyz(9.8627, 7.8412, 31.9977)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38489B #9B8B38
analogous
#387A9B #38489B #5A389B
triadic
#38489B #9B3848 #489B38
tetradic
#38489B #9B387A #9B8B38 #389B5A
square
#38489B #9B387A #9B8B38 #389B5A
split-complementary
#38489B #9B5A38 #7A9B38
monochromatic
#181E41 #28336E #38489B #5062C0 #7D8BD0

Accessibility & contrast

On white

8.18
#38489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#38489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38489B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38489B#FFFFFF#000000##FFFFFF
##38489B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38489b;
/* rgb */ color: rgb(56, 72, 155);
/* oklch */ color: oklch(43.6% 0.136 271.4);
Tailwind
colors: {
  custom: {
    50: '#797ab9',
    500: '#38489b',
    950: '#000000',
  },
}
SCSS
$custom: #38489b;
$custom-light: #797ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#38489b",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 230.303,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.13591,
    "h": 271.4
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#38489B
secondary
#B9AE75
accent
#C151D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #38489B

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

Preview Lab → · Contrast checker → · Palette generator →

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