#395FAF#395FAF

#395FAF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.135 H 263.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#395FAF
RGBrgb(57, 95, 175)
HSLhsl(221, 51%, 45%)
HSVhsv(221, 67%, 69%)
CMYKcmyk(67.4%, 45.7%, 0%, 31.4%)
CIE-LABlab(41.45, 13.34, -46.75)
CIE-LCHlch(41.45, 48.61, 285.93°)
OKLaboklab(49.97% -0.0158 -0.1337)
OKLCHoklch(49.97% 0.135 263.3)
XYZxyz(13.5147, 12.1481, 42.1817)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FAF #AF8939
analogous
#399AAF #395FAF #4E39AF
triadic
#395FAF #AF395F #5FAF39
tetradic
#395FAF #AF399A #AF8939 #39AF4E
square
#395FAF #AF399A #AF8939 #39AF4E
split-complementary
#395FAF #AF4E39 #9AAF39
monochromatic
#1B2D53 #2A4681 #395FAF #5B7FCA #8AA3D9

Accessibility & contrast

On white

6.12
#395FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#395FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FAF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FAF#FFFFFF#000000##FFFFFF
##395FAF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #395faf;
/* rgb */ color: rgb(57, 95, 175);
/* oklch */ color: oklch(50.0% 0.135 263.3);
Tailwind
colors: {
  custom: {
    50: '#7c8bc7',
    500: '#395faf',
    950: '#000000',
  },
}
SCSS
$custom: #395faf;
$custom-light: #7c8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#395faf",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 220.678,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.13462,
    "h": 263.3
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#395FAF
secondary
#C3AE81
accent
#AD4DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #395FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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