#38549B#38549B

#38549B is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.120 H 265.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#38549B
RGBrgb(56, 84, 155)
HSLhsl(223, 47%, 41%)
HSVhsv(223, 64%, 61%)
CMYKcmyk(63.9%, 45.8%, 0%, 39.2%)
CIE-LABlab(37.02, 13.02, -41.95)
CIE-LCHlch(37.02, 43.93, 287.25°)
OKLaboklab(46.16% -0.009 -0.1198)
OKLCHoklch(46.16% 0.12 265.7)
XYZxyz(10.7156, 9.5470, 32.2820)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38549B #9B7F38
analogous
#38869B #38549B #4E389B
triadic
#38549B #9B3854 #549B38
tetradic
#38549B #9B3886 #9B7F38 #389B4E
square
#38549B #9B3886 #9B7F38 #389B4E
split-complementary
#38549B #9B4E38 #869B38
monochromatic
#182341 #283C6E #38549B #5070C0 #7D95D0

Accessibility & contrast

On white

7.22
#38549B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#38549B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38549B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38549B#FFFFFF#000000##FFFFFF
##38549B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #38549b;
/* rgb */ color: rgb(56, 84, 155);
/* oklch */ color: oklch(46.2% 0.120 265.7);
Tailwind
colors: {
  custom: {
    50: '#7983b9',
    500: '#38549b',
    950: '#000000',
  },
}
SCSS
$custom: #38549b;
$custom-light: #7983b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38549b",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 223.03,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.12011,
    "h": 265.7
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#38549B
secondary
#B9A675
accent
#B151D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38549B

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

Preview Lab → · Contrast checker → · Palette generator →

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