#38548C#38548C

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

Color values

HEX#38548C
RGBrgb(56, 84, 140)
HSLhsl(220, 43%, 38%)
HSVhsv(220, 60%, 55%)
CMYKcmyk(60%, 40%, 0%, 45.1%)
CIE-LABlab(36.13, 7.63, -34.29)
CIE-LCHlch(36.13, 35.13, 282.54°)
OKLaboklab(45.18% -0.012 -0.0973)
OKLCHoklch(45.18% 0.098 263)
XYZxyz(9.5332, 9.0741, 26.0549)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38548C #8C7038
analogous
#387E8C #38548C #46388C
triadic
#38548C #8C3854 #548C38
tetradic
#38548C #8C387E #8C7038 #388C46
square
#38548C #8C387E #8C7038 #388C46
split-complementary
#38548C #8C4638 #7E8C38
monochromatic
#152035 #273A60 #38548C #4A6FB7 #7692C8

Accessibility & contrast

On white

7.46
#38548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#38548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38548C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38548C#FFFFFF#000000##FFFFFF
##38548C1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #38548c;
/* rgb */ color: rgb(56, 84, 140);
/* oklch */ color: oklch(45.2% 0.098 263.0);
Tailwind
colors: {
  custom: {
    50: '#7683ae',
    500: '#38548c',
    950: '#000000',
  },
}
SCSS
$custom: #38548c;
$custom-light: #7683ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38548c",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 220,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.09806,
    "h": 263
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38548C

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

Preview Lab → · Contrast checker → · Palette generator →

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