#38548E#38548E

#38548E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.101 H 263.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#38548E
RGBrgb(56, 84, 142)
HSLhsl(220, 43%, 39%)
HSVhsv(220, 61%, 56%)
CMYKcmyk(60.6%, 40.8%, 0%, 44.3%)
CIE-LABlab(36.24, 8.34, -35.33)
CIE-LCHlch(36.24, 36.30, 283.28°)
OKLaboklab(45.31% -0.0115 -0.1003)
OKLCHoklch(45.31% 0.101 263.4)
XYZxyz(9.6820, 9.1336, 26.8387)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38548E #8E7238
analogous
#387F8E #38548E #47388E
triadic
#38548E #8E3854 #548E38
tetradic
#38548E #8E387F #8E7238 #388E47
square
#38548E #8E387F #8E7238 #388E47
split-complementary
#38548E #8E4738 #7F8E38
monochromatic
#152036 #273A62 #38548E #4B6FB8 #7792C9

Accessibility & contrast

On white

7.43
#38548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#38548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38548E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38548E#FFFFFF#000000##FFFFFF
##38548E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A90
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #38548e;
/* rgb */ color: rgb(56, 84, 142);
/* oklch */ color: oklch(45.3% 0.101 263.4);
Tailwind
colors: {
  custom: {
    50: '#7683af',
    500: '#38548e',
    950: '#000000',
  },
}
SCSS
$custom: #38548e;
$custom-light: #7683af;
$custom-dark: #000000;
JSON
{
  "hex": "#38548e",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 220.465,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.10101,
    "h": 263.4
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#38548E
secondary
#B29D6F
accent
#AA55D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38548E

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

Preview Lab → · Contrast checker → · Palette generator →

#38548E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva