#395FC7#395FC7

#395FC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.168 H 265.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#395FC7
RGBrgb(57, 95, 199)
HSLhsl(224, 56%, 50%)
HSVhsv(224, 71%, 78%)
CMYKcmyk(71.4%, 52.3%, 0%, 22%)
CIE-LABlab(43.03, 22.14, -58.20)
CIE-LCHlch(43.03, 62.27, 290.82°)
OKLaboklab(51.68% -0.0127 -0.1674)
OKLCHoklch(51.68% 0.168 265.7)
XYZxyz(16.0847, 13.1761, 55.7173)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FC7 #C7A139
analogous
#39A6C7 #395FC7 #5A39C7
triadic
#395FC7 #C7395F #5FC739
tetradic
#395FC7 #C739A6 #C7A139 #39C75A
square
#395FC7 #C739A6 #C7A139 #39C75A
split-complementary
#395FC7 #C75A39 #A6C739
monochromatic
#1D3168 #2B4898 #395FC7 #6986D4 #98ACE2

Accessibility & contrast

On white

5.78
#395FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#395FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FC7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FC7#FFFFFF#000000##FFFFFF
##395FC71.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395fc7;
/* rgb */ color: rgb(57, 95, 199);
/* oklch */ color: oklch(51.7% 0.168 265.7);
Tailwind
colors: {
  custom: {
    50: '#818bd9',
    500: '#395fc7',
    950: '#000000',
  },
}
SCSS
$custom: #395fc7;
$custom-light: #818bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#395fc7",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 223.944,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.16786,
    "h": 265.7
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#395FC7
secondary
#CEBD8E
accent
#B749DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #395FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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