#395FB5#395FB5

#395FB5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.143 H 264.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#395FB5
RGBrgb(57, 95, 181)
HSLhsl(222, 52%, 47%)
HSVhsv(222, 69%, 71%)
CMYKcmyk(68.5%, 47.5%, 0%, 29%)
CIE-LABlab(41.83, 15.53, -49.66)
CIE-LCHlch(41.83, 52.03, 287.37°)
OKLaboklab(50.39% -0.0149 -0.1423)
OKLCHoklch(50.39% 0.143 264)
XYZxyz(14.1171, 12.3891, 45.3544)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FB5 #B58F39
analogous
#399DB5 #395FB5 #5139B5
triadic
#395FB5 #B5395F #5FB539
tetradic
#395FB5 #B5399D #B58F39 #39B551
square
#395FB5 #B5399D #B58F39 #39B551
split-complementary
#395FB5 #B55139 #9DB539
monochromatic
#1C2E58 #2A4786 #395FB5 #5F80CD #8DA5DB

Accessibility & contrast

On white

6.04
#395FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#395FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FB5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FB5#FFFFFF#000000##FFFFFF
##395FB51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#165DB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395fb5;
/* rgb */ color: rgb(57, 95, 181);
/* oklch */ color: oklch(50.4% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#7d8bcc',
    500: '#395fb5',
    950: '#000000',
  },
}
SCSS
$custom: #395fb5;
$custom-light: #7d8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#395fb5",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 221.613,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.14303,
    "h": 264
  },
  "luminance": 0.1239
}

Semantic roles & 50–950 ramp

primary
#395FB5
secondary
#C6B284
accent
#B04CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #395FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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