#385182#385182

#385182 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.087 H 262.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#385182
RGBrgb(56, 81, 130)
HSLhsl(220, 40%, 36%)
HSVhsv(220, 57%, 51%)
CMYKcmyk(56.9%, 37.7%, 0%, 49%)
CIE-LABlab(34.67, 6.06, -30.47)
CIE-LCHlch(34.67, 31.06, 281.24°)
OKLaboklab(43.88% -0.0109 -0.0862)
OKLCHoklch(43.88% 0.087 262.8)
XYZxyz(8.6012, 8.3367, 22.2706)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385182 #826938
analogous
#387682 #385182 #443882
triadic
#385182 #823851 #518238
tetradic
#385182 #823876 #826938 #388244
square
#385182 #823876 #826938 #388244
split-complementary
#385182 #824438 #768238
monochromatic
#131C2C #263657 #385182 #4A6CAD #728DC2

Accessibility & contrast

On white

7.87
#385182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#385182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385182
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385182#FFFFFF#000000##FFFFFF
##3851821.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#0B5C63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #385182;
/* rgb */ color: rgb(56, 81, 130);
/* oklch */ color: oklch(43.9% 0.087 262.8);
Tailwind
colors: {
  custom: {
    50: '#7481a6',
    500: '#385182',
    950: '#000000',
  },
}
SCSS
$custom: #385182;
$custom-light: #7481a6;
$custom-dark: #000000;
JSON
{
  "hex": "#385182",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 219.73,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.08685,
    "h": 262.8
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#385182
secondary
#AB956B
accent
#A758D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #385182

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

Preview Lab → · Contrast checker → · Palette generator →

#385182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva