#395F8A#395F8A

#395F8A is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.082 H 252.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#395F8A
RGBrgb(57, 95, 138)
HSLhsl(212, 42%, 38%)
HSVhsv(212, 59%, 54%)
CMYKcmyk(58.7%, 31.2%, 0%, 45.9%)
CIE-LABlab(39.39, 0.13, -27.93)
CIE-LCHlch(39.39, 27.93, 270.26°)
OKLaboklab(47.71% -0.0246 -0.0786)
OKLCHoklch(47.71% 0.082 252.6)
XYZxyz(10.3654, 10.8884, 25.5953)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395F8A #8A6439
analogous
#39878A #395F8A #3C398A
triadic
#395F8A #8A395F #5F8A39
tetradic
#395F8A #8A3987 #8A6439 #398A3C
square
#395F8A #8A3987 #8A6439 #398A3C
split-complementary
#395F8A #8A3C39 #878A39
monochromatic
#152333 #27415F #395F8A #4B7DB5 #779CC7

Accessibility & contrast

On white

6.61
#395F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#395F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395F8A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395F8A#FFFFFF#000000##FFFFFF
##395F8A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#435989
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #395f8a;
/* rgb */ color: rgb(57, 95, 138);
/* oklch */ color: oklch(47.7% 0.082 252.6);
Tailwind
colors: {
  custom: {
    50: '#768cac',
    500: '#395f8a',
    950: '#000000',
  },
}
SCSS
$custom: #395f8a;
$custom-light: #768cac;
$custom-dark: #000000;
JSON
{
  "hex": "#395f8a",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 211.852,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.08242,
    "h": 252.6
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#395F8A
secondary
#B0916F
accent
#9856D1
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #395F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#395F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva