#385398#385398

#385398 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.117 H 265.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#385398
RGBrgb(56, 83, 152)
HSLhsl(223, 46%, 41%)
HSVhsv(223, 63%, 60%)
CMYKcmyk(63.2%, 45.4%, 0%, 40.4%)
CIE-LABlab(36.54, 12.59, -40.90)
CIE-LCHlch(36.54, 42.80, 287.11°)
OKLaboklab(45.73% -0.0084 -0.1167)
OKLCHoklch(45.73% 0.117 265.9)
XYZxyz(10.3897, 9.2934, 30.9460)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#385398 #987D38
analogous
#388398 #385398 #4D3898
triadic
#385398 #983853 #539838
tetradic
#385398 #983883 #987D38 #38984D
square
#385398 #983883 #987D38 #38984D
split-complementary
#385398 #984D38 #839838
monochromatic
#17223F #283B6B #385398 #4F6EBE #7C93CF

Accessibility & contrast

On white

7.35
#385398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#385398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##385398#FFFFFF#000000##FFFFFF
##3853981.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)
#335B9B
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #385398;
/* rgb */ color: rgb(56, 83, 152);
/* oklch */ color: oklch(45.7% 0.117 265.9);
Tailwind
colors: {
  custom: {
    50: '#7883b7',
    500: '#385398',
    950: '#000000',
  },
}
SCSS
$custom: #385398;
$custom-light: #7883b7;
$custom-dark: #000000;
JSON
{
  "hex": "#385398",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 223.125,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.11701,
    "h": 265.9
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#385398
secondary
#B8A574
accent
#B152D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #385398

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

Preview Lab → · Contrast checker → · Palette generator →

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