#38459C#38459C

#38459C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.141 H 272.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#38459C
RGBrgb(56, 69, 156)
HSLhsl(232, 47%, 42%)
HSVhsv(232, 64%, 61%)
CMYKcmyk(64.1%, 55.8%, 0%, 38.8%)
CIE-LABlab(32.91, 23.30, -49.16)
CIE-LCHlch(32.91, 54.40, 295.35°)
OKLaboklab(43.07% 0.0065 -0.1412)
OKLCHoklch(43.07% 0.141 272.6)
XYZxyz(9.7578, 7.4965, 32.3788)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38459C #9C8F38
analogous
#38779C #38459C #5D389C
triadic
#38459C #9C3845 #459C38
tetradic
#38459C #9C3877 #9C8F38 #389C5D
square
#38459C #9C3877 #9C8F38 #389C5D
split-complementary
#38459C #9C5D38 #779C38
monochromatic
#181D42 #28316F #38459C #515FC0 #7E89D1

Accessibility & contrast

On white

8.40
#38459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#38459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38459C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38459C#FFFFFF#000000##FFFFFF
##38459C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02529F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38459c;
/* rgb */ color: rgb(56, 69, 156);
/* oklch */ color: oklch(43.1% 0.141 272.6);
Tailwind
colors: {
  custom: {
    50: '#7978ba',
    500: '#38459c',
    950: '#000000',
  },
}
SCSS
$custom: #38459c;
$custom-light: #7978ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38459c",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 232.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43065,
    "c": 0.14135,
    "h": 272.6
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#38459C
secondary
#BAB176
accent
#C551D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #38459C

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

Preview Lab → · Contrast checker → · Palette generator →

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