#395CC7#395CC7

#395CC7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.172 H 266.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#395CC7
RGBrgb(57, 92, 199)
HSLhsl(225, 56%, 50%)
HSVhsv(225, 71%, 78%)
CMYKcmyk(71.4%, 53.8%, 0%, 22%)
CIE-LABlab(42.22, 24.07, -59.50)
CIE-LCHlch(42.22, 64.18, 292.02°)
OKLaboklab(51.07% -0.0102 -0.1713)
OKLCHoklch(51.07% 0.172 266.6)
XYZxyz(15.8197, 12.6460, 55.6290)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395CC7 #C7A439
analogous
#39A3C7 #395CC7 #5D39C7
triadic
#395CC7 #C7395C #5CC739
tetradic
#395CC7 #C739A3 #C7A439 #39C75D
square
#395CC7 #C739A3 #C7A439 #39C75D
split-complementary
#395CC7 #C75D39 #A3C739
monochromatic
#1D3068 #2B4698 #395CC7 #6983D4 #98ABE2

Accessibility & contrast

On white

5.95
#395CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#395CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395CC7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395CC7#FFFFFF#000000##FFFFFF
##395CC71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395cc7;
/* rgb */ color: rgb(57, 92, 199);
/* oklch */ color: oklch(51.1% 0.172 266.6);
Tailwind
colors: {
  custom: {
    50: '#8189d9',
    500: '#395cc7',
    950: '#000000',
  },
}
SCSS
$custom: #395cc7;
$custom-light: #8189d9;
$custom-dark: #000000;
JSON
{
  "hex": "#395cc7",
  "rgb": {
    "r": 57,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 225.211,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.17155,
    "h": 266.6
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#395CC7
secondary
#CEBE8E
accent
#BA49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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