#38489C#38489C

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

Color values

HEX#38489C
RGBrgb(56, 72, 156)
HSLhsl(230, 47%, 42%)
HSVhsv(230, 64%, 61%)
CMYKcmyk(64.1%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.72, 21.31, -47.86)
CIE-LCHlch(33.72, 52.39, 294.00°)
OKLaboklab(43.67% 0.0035 -0.1373)
OKLCHoklch(43.67% 0.137 271.5)
XYZxyz(9.9470, 7.8749, 32.4419)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38489C #9C8C38
analogous
#387A9C #38489C #5A389C
triadic
#38489C #9C3848 #489C38
tetradic
#38489C #9C387A #9C8C38 #389C5A
square
#38489C #9C387A #9C8C38 #389C5A
split-complementary
#38489C #9C5A38 #7A9C38
monochromatic
#181E42 #28336F #38489C #5163C0 #7E8BD1

Accessibility & contrast

On white

8.15
#38489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38489C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38489C#FFFFFF#000000##FFFFFF
##38489C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12549F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38489c;
/* rgb */ color: rgb(56, 72, 156);
/* oklch */ color: oklch(43.7% 0.137 271.5);
Tailwind
colors: {
  custom: {
    50: '#797aba',
    500: '#38489c',
    950: '#000000',
  },
}
SCSS
$custom: #38489c;
$custom-light: #797aba;
$custom-dark: #000000;
JSON
{
  "hex": "#38489c",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 230.4,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.13735,
    "h": 271.5
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#38489C
secondary
#BAAF76
accent
#C151D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38489C

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

Preview Lab → · Contrast checker → · Palette generator →

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