#38549A#38549A

#38549A is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.1% C 0.119 H 265.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#38549A
RGBrgb(56, 84, 154)
HSLhsl(223, 47%, 41%)
HSVhsv(223, 64%, 60%)
CMYKcmyk(63.6%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.95, 12.66, -41.45)
CIE-LCHlch(36.95, 43.34, 286.98°)
OKLaboklab(46.09% -0.0091 -0.1183)
OKLCHoklch(46.09% 0.119 265.6)
XYZxyz(10.6319, 9.5136, 31.8416)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38549A #9A7E38
analogous
#38859A #38549A #4D389A
triadic
#38549A #9A3854 #549A38
tetradic
#38549A #9A3885 #9A7E38 #389A4D
square
#38549A #9A3885 #9A7E38 #389A4D
split-complementary
#38549A #9A4D38 #859A38
monochromatic
#172340 #283C6D #38549A #5070BF #7D94D0

Accessibility & contrast

On white

7.23
#38549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#38549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38549A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38549A#FFFFFF#000000##FFFFFF
##38549A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #38549a;
/* rgb */ color: rgb(56, 84, 154);
/* oklch */ color: oklch(46.1% 0.119 265.6);
Tailwind
colors: {
  custom: {
    50: '#7883b8',
    500: '#38549a',
    950: '#000000',
  },
}
SCSS
$custom: #38549a;
$custom-light: #7883b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38549a",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 222.857,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.11866,
    "h": 265.6
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#38549A
secondary
#B9A575
accent
#B051D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #38549A

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

Preview Lab → · Contrast checker → · Palette generator →

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