#38489E#38489E

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

Color values

HEX#38489E
RGBrgb(56, 72, 158)
HSLhsl(231, 48%, 42%)
HSVhsv(231, 65%, 62%)
CMYKcmyk(64.6%, 54.4%, 0%, 38%)
CIE-LABlab(33.86, 22.03, -48.83)
CIE-LCHlch(33.86, 53.57, 294.29°)
OKLaboklab(43.83% 0.0037 -0.1402)
OKLCHoklch(43.83% 0.14 271.5)
XYZxyz(10.1177, 7.9432, 33.3411)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38489E #9E8E38
analogous
#387B9E #38489E #5B389E
triadic
#38489E #9E3848 #489E38
tetradic
#38489E #9E387B #9E8E38 #389E5B
square
#38489E #9E387B #9E8E38 #389E5B
split-complementary
#38489E #9E5B38 #7B9E38
monochromatic
#181F44 #283371 #38489E #5263C2 #7F8CD2

Accessibility & contrast

On white

8.11
#38489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#38489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38489E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38489E#FFFFFF#000000##FFFFFF
##38489E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38489e;
/* rgb */ color: rgb(56, 72, 158);
/* oklch */ color: oklch(43.8% 0.140 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a7abb',
    500: '#38489e',
    950: '#000000',
  },
}
SCSS
$custom: #38489e;
$custom-light: #7a7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#38489e",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 230.588,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.14023,
    "h": 271.5
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38489E

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

Preview Lab → · Contrast checker → · Palette generator →

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