#385181#385181

#385181 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.085 H 262.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#385181
RGBrgb(56, 81, 129)
HSLhsl(219, 39%, 36%)
HSVhsv(219, 57%, 51%)
CMYKcmyk(56.6%, 37.2%, 0%, 49.4%)
CIE-LABlab(34.62, 5.71, -29.94)
CIE-LCHlch(34.62, 30.48, 280.79°)
OKLaboklab(43.82% -0.0111 -0.0846)
OKLCHoklch(43.82% 0.085 262.5)
XYZxyz(8.5344, 8.3099, 21.9189)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385181 #816838
analogous
#387681 #385181 #443881
triadic
#385181 #813851 #518138
tetradic
#385181 #813876 #816838 #388144
square
#385181 #813876 #816838 #388144
split-complementary
#385181 #814438 #768138
monochromatic
#131B2C #253656 #385181 #4B6CAC #728DC2

Accessibility & contrast

On white

7.89
#385181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#385181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #385181
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##385181#FFFFFF#000000##FFFFFF
##3851811.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#0D5C63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #385181;
/* rgb */ color: rgb(56, 81, 129);
/* oklch */ color: oklch(43.8% 0.085 262.5);
Tailwind
colors: {
  custom: {
    50: '#7481a6',
    500: '#385181',
    950: '#000000',
  },
}
SCSS
$custom: #385181;
$custom-light: #7481a6;
$custom-dark: #000000;
JSON
{
  "hex": "#385181",
  "rgb": {
    "r": 56,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 219.452,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43816,
    "c": 0.08535,
    "h": 262.5
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#385181
secondary
#AB956A
accent
#A758CF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #385181

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

Preview Lab → · Contrast checker → · Palette generator →

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