#38548D#38548D

#38548D is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.100 H 263.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#38548D
RGBrgb(56, 84, 141)
HSLhsl(220, 43%, 39%)
HSVhsv(220, 60%, 55%)
CMYKcmyk(60.3%, 40.4%, 0%, 44.7%)
CIE-LABlab(36.18, 7.98, -34.81)
CIE-LCHlch(36.18, 35.72, 282.92°)
OKLaboklab(45.24% -0.0118 -0.0988)
OKLCHoklch(45.24% 0.1 263.2)
XYZxyz(9.6073, 9.1037, 26.4450)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38548D #8D7138
analogous
#387E8D #38548D #46388D
triadic
#38548D #8D3854 #548D38
tetradic
#38548D #8D387E #8D7138 #388D46
square
#38548D #8D387E #8D7138 #388D46
split-complementary
#38548D #8D4638 #7E8D38
monochromatic
#152035 #273A61 #38548D #4B6FB7 #7792C9

Accessibility & contrast

On white

7.44
#38548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#38548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38548D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38548D#FFFFFF#000000##FFFFFF
##38548D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#30528C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #38548d;
/* rgb */ color: rgb(56, 84, 141);
/* oklch */ color: oklch(45.2% 0.100 263.2);
Tailwind
colors: {
  custom: {
    50: '#7683ae',
    500: '#38548d',
    950: '#000000',
  },
}
SCSS
$custom: #38548d;
$custom-light: #7683ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38548d",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 220.235,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.09954,
    "h": 263.2
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#38548D
secondary
#B29C6F
accent
#A955D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38548D

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

Preview Lab → · Contrast checker → · Palette generator →

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