#38549D#38549D

#38549D is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.123 H 266.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#38549D
RGBrgb(56, 84, 157)
HSLhsl(223, 47%, 42%)
HSVhsv(223, 64%, 62%)
CMYKcmyk(64.3%, 46.5%, 0%, 38.4%)
CIE-LABlab(37.14, 13.75, -42.95)
CIE-LCHlch(37.14, 45.10, 287.75°)
OKLaboklab(46.29% -0.0086 -0.1227)
OKLCHoklch(46.29% 0.123 266)
XYZxyz(10.8849, 9.6147, 33.1740)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38549D #9D8138
analogous
#38879D #38549D #4E389D
triadic
#38549D #9D3854 #549D38
tetradic
#38549D #9D3887 #9D8138 #389D4E
square
#38549D #9D3887 #9D8138 #389D4E
split-complementary
#38549D #9D4E38 #879D38
monochromatic
#182443 #283C70 #38549D #5170C1 #7E95D1

Accessibility & contrast

On white

7.18
#38549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#38549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38549D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38549D#FFFFFF#000000##FFFFFF
##38549D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #38549d;
/* rgb */ color: rgb(56, 84, 157);
/* oklch */ color: oklch(46.3% 0.123 266.0);
Tailwind
colors: {
  custom: {
    50: '#7983ba',
    500: '#38549d',
    950: '#000000',
  },
}
SCSS
$custom: #38549d;
$custom-light: #7983ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38549d",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 223.366,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46293,
    "c": 0.12303,
    "h": 266
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#38549D
secondary
#BAA876
accent
#B251D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #38549D

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

Preview Lab → · Contrast checker → · Palette generator →

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