#38459B#38459B

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

Color values

HEX#38459B
RGBrgb(56, 69, 155)
HSLhsl(232, 47%, 41%)
HSVhsv(232, 64%, 61%)
CMYKcmyk(63.9%, 55.5%, 0%, 39.2%)
CIE-LABlab(32.84, 22.94, -48.68)
CIE-LCHlch(32.84, 53.81, 295.23°)
OKLaboklab(42.99% 0.0064 -0.1398)
OKLCHoklch(42.99% 0.14 272.6)
XYZxyz(9.6734, 7.4627, 31.9347)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38459B #9B8E38
analogous
#38779B #38459B #5D389B
triadic
#38459B #9B3845 #459B38
tetradic
#38459B #9B3877 #9B8E38 #389B5D
square
#38459B #9B3877 #9B8E38 #389B5D
split-complementary
#38459B #9B5D38 #779B38
monochromatic
#181D41 #28316E #38459B #505FC0 #7D88D0

Accessibility & contrast

On white

8.42
#38459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#38459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38459B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38459B#FFFFFF#000000##FFFFFF
##38459B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38459b;
/* rgb */ color: rgb(56, 69, 155);
/* oklch */ color: oklch(43.0% 0.140 272.6);
Tailwind
colors: {
  custom: {
    50: '#7978b9',
    500: '#38459b',
    950: '#000000',
  },
}
SCSS
$custom: #38459b;
$custom-light: #7978b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38459b",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 232.121,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42986,
    "c": 0.13991,
    "h": 272.6
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#38459B
secondary
#B9B075
accent
#C551D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #38459B

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

Preview Lab → · Contrast checker → · Palette generator →

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