#38558E#38558E

#38558E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.100 H 262.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#38558E
RGBrgb(56, 85, 142)
HSLhsl(220, 43%, 39%)
HSVhsv(220, 61%, 56%)
CMYKcmyk(60.6%, 40.1%, 0%, 44.3%)
CIE-LABlab(36.54, 7.69, -34.86)
CIE-LCHlch(36.54, 35.70, 282.44°)
OKLaboklab(45.54% -0.0127 -0.099)
OKLCHoklch(45.54% 0.1 262.7)
XYZxyz(9.7602, 9.2899, 26.8647)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38558E #8E7138
analogous
#38808E #38558E #46388E
triadic
#38558E #8E3855 #558E38
tetradic
#38558E #8E3880 #8E7138 #388E46
square
#38558E #8E3880 #8E7138 #388E46
split-complementary
#38558E #8E4638 #808E38
monochromatic
#152036 #273B62 #38558E #4B70B8 #7793C9

Accessibility & contrast

On white

7.35
#38558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#38558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38558E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38558E#FFFFFF#000000##FFFFFF
##38558E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #38558e;
/* rgb */ color: rgb(56, 85, 142);
/* oklch */ color: oklch(45.5% 0.100 262.7);
Tailwind
colors: {
  custom: {
    50: '#7684af',
    500: '#38558e',
    950: '#000000',
  },
}
SCSS
$custom: #38558e;
$custom-light: #7684af;
$custom-dark: #000000;
JSON
{
  "hex": "#38558e",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 219.767,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.09977,
    "h": 262.7
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38558E

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

Preview Lab → · Contrast checker → · Palette generator →

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