#395FC8#395FC8

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

Color values

HEX#395FC8
RGBrgb(57, 95, 200)
HSLhsl(224, 57%, 50%)
HSVhsv(224, 72%, 78%)
CMYKcmyk(71.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(43.10, 22.50, -58.66)
CIE-LCHlch(43.10, 62.83, 290.99°)
OKLaboklab(51.76% -0.0126 -0.1687)
OKLCHoklch(51.76% 0.169 265.7)
XYZxyz(16.2012, 13.2227, 56.3308)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FC8 #C8A239
analogous
#39A6C8 #395FC8 #5A39C8
triadic
#395FC8 #C8395F #5FC839
tetradic
#395FC8 #C839A6 #C8A239 #39C85A
square
#395FC8 #C839A6 #C8A239 #39C85A
split-complementary
#395FC8 #C85A39 #A6C839
monochromatic
#1D3169 #2B4899 #395FC8 #6986D5 #99ACE3

Accessibility & contrast

On white

5.76
#395FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #395FC8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FC8#FFFFFF#000000##FFFFFF
##395FC81.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395fc8;
/* rgb */ color: rgb(57, 95, 200);
/* oklch */ color: oklch(51.8% 0.169 265.7);
Tailwind
colors: {
  custom: {
    50: '#818bd9',
    500: '#395fc8',
    950: '#000000',
  },
}
SCSS
$custom: #395fc8;
$custom-light: #818bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#395fc8",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 224.056,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.16922,
    "h": 265.7
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#395FC8
secondary
#CEBD8F
accent
#B748E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #395FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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