#38558B#38558B

#38558B is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.095 H 261.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#38558B
RGBrgb(56, 85, 139)
HSLhsl(219, 43%, 38%)
HSVhsv(219, 60%, 55%)
CMYKcmyk(59.7%, 38.8%, 0%, 45.5%)
CIE-LABlab(36.37, 6.62, -33.30)
CIE-LCHlch(36.37, 33.95, 281.25°)
OKLaboklab(45.35% -0.0134 -0.0944)
OKLCHoklch(45.35% 0.095 261.9)
XYZxyz(9.5380, 9.2010, 25.6944)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38558B #8B6E38
analogous
#387E8B #38558B #44388B
triadic
#38558B #8B3855 #558B38
tetradic
#38558B #8B387E #8B6E38 #388B44
square
#38558B #8B387E #8B6E38 #388B44
split-complementary
#38558B #8B4438 #7E8B38
monochromatic
#152034 #263A5F #38558B #4A70B6 #7692C8

Accessibility & contrast

On white

7.39
#38558B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#38558B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38558B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38558B#FFFFFF#000000##FFFFFF
##38558B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#34528A
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38558b;
/* rgb */ color: rgb(56, 85, 139);
/* oklch */ color: oklch(45.4% 0.095 261.9);
Tailwind
colors: {
  custom: {
    50: '#7684ad',
    500: '#38558b',
    950: '#000000',
  },
}
SCSS
$custom: #38558b;
$custom-light: #7684ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38558b",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 219.036,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45351,
    "c": 0.09535,
    "h": 261.9
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#38558B
secondary
#B1996E
accent
#A755D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38558B

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

Preview Lab → · Contrast checker → · Palette generator →

#38558B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva