#395FCF#395FCF

#395FCF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.179 H 266.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#395FCF
RGBrgb(57, 95, 207)
HSLhsl(225, 61%, 52%)
HSVhsv(225, 72%, 81%)
CMYKcmyk(72.5%, 54.1%, 0%, 18.8%)
CIE-LABlab(43.59, 25.06, -61.89)
CIE-LCHlch(43.59, 66.78, 292.04°)
OKLaboklab(52.29% -0.012 -0.1783)
OKLCHoklch(52.29% 0.179 266.1)
XYZxyz(17.0381, 13.5575, 60.7383)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FCF #CFA939
analogous
#39AACF #395FCF #5E39CF
triadic
#395FCF #CF395F #5FCF39
tetradic
#395FCF #CF39AA #CFA939 #39CF5E
square
#395FCF #CF39AA #CFA939 #39CF5E
split-complementary
#395FCF #CF5E39 #AACF39
monochromatic
#1C3272 #2847A3 #395FCF #6A87DB #9CAFE7

Accessibility & contrast

On white

5.66
#395FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#395FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FCF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FCF#FFFFFF#000000##FFFFFF
##395FCF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #395fcf;
/* rgb */ color: rgb(57, 95, 207);
/* oklch */ color: oklch(52.3% 0.179 266.1);
Tailwind
colors: {
  custom: {
    50: '#838bde',
    500: '#395fcf',
    950: '#000000',
  },
}
SCSS
$custom: #395fcf;
$custom-light: #838bde;
$custom-dark: #000000;
JSON
{
  "hex": "#395fcf",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 224.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.17866,
    "h": 266.1
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#395FCF
secondary
#D3C291
accent
#BB44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #395FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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