#38489A#38489A

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

Color values

HEX#38489A
RGBrgb(56, 72, 154)
HSLhsl(230, 47%, 41%)
HSVhsv(230, 64%, 60%)
CMYKcmyk(63.6%, 53.2%, 0%, 39.6%)
CIE-LABlab(33.58, 20.59, -46.87)
CIE-LCHlch(33.58, 51.20, 293.71°)
OKLaboklab(43.52% 0.0034 -0.1344)
OKLCHoklch(43.52% 0.134 271.4)
XYZxyz(9.7790, 7.8077, 31.5573)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38489A #9A8A38
analogous
#38799A #38489A #59389A
triadic
#38489A #9A3848 #489A38
tetradic
#38489A #9A3879 #9A8A38 #389A59
square
#38489A #9A3879 #9A8A38 #389A59
split-complementary
#38489A #9A5938 #799A38
monochromatic
#171E40 #28336D #38489A #5062BF #7D8AD0

Accessibility & contrast

On white

8.20
#38489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#38489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38489A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38489A#FFFFFF#000000##FFFFFF
##38489A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38489a;
/* rgb */ color: rgb(56, 72, 154);
/* oklch */ color: oklch(43.5% 0.134 271.4);
Tailwind
colors: {
  custom: {
    50: '#797ab8',
    500: '#38489a',
    950: '#000000',
  },
}
SCSS
$custom: #38489a;
$custom-light: #797ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#38489a",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 230.204,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.13446,
    "h": 271.4
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38489A

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

Preview Lab → · Contrast checker → · Palette generator →

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