#395BC7#395BC7

#395BC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.173 H 266.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#395BC7
RGBrgb(57, 91, 199)
HSLhsl(226, 56%, 50%)
HSVhsv(226, 71%, 78%)
CMYKcmyk(71.4%, 54.3%, 0%, 22%)
CIE-LABlab(41.96, 24.71, -59.93)
CIE-LCHlch(41.96, 64.82, 292.41°)
OKLaboklab(50.87% -0.0094 -0.1725)
OKLCHoklch(50.87% 0.173 266.9)
XYZxyz(15.7336, 12.4739, 55.6003)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BC7 #C7A539
analogous
#39A2C7 #395BC7 #5E39C7
triadic
#395BC7 #C7395B #5BC739
tetradic
#395BC7 #C739A2 #C7A539 #39C75E
square
#395BC7 #C739A2 #C7A539 #39C75E
split-complementary
#395BC7 #C75E39 #A2C739
monochromatic
#1D2F68 #2B4598 #395BC7 #6983D4 #98AAE2

Accessibility & contrast

On white

6.01
#395BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#395BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BC7#FFFFFF#000000##FFFFFF
##395BC71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395bc7;
/* rgb */ color: rgb(57, 91, 199);
/* oklch */ color: oklch(50.9% 0.173 266.9);
Tailwind
colors: {
  custom: {
    50: '#8188d9',
    500: '#395bc7',
    950: '#000000',
  },
}
SCSS
$custom: #395bc7;
$custom-light: #8188d9;
$custom-dark: #000000;
JSON
{
  "hex": "#395bc7",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 225.634,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.17279,
    "h": 266.9
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#395BC7
secondary
#CEBE8E
accent
#BB49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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