#395FCA#395FCA

#395FCA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.172 H 265.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#395FCA
RGBrgb(57, 95, 202)
HSLhsl(224, 58%, 51%)
HSVhsv(224, 72%, 79%)
CMYKcmyk(71.8%, 53%, 0%, 20.8%)
CIE-LABlab(43.24, 23.23, -59.59)
CIE-LCHlch(43.24, 63.96, 291.30°)
OKLaboklab(51.91% -0.0124 -0.1715)
OKLCHoklch(51.91% 0.172 265.9)
XYZxyz(16.4365, 13.3168, 57.5698)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FCA #CAA439
analogous
#39A7CA #395FCA #5B39CA
triadic
#395FCA #CA395F #5FCA39
tetradic
#395FCA #CA39A7 #CAA439 #39CA5B
square
#395FCA #CA39A7 #CAA439 #39CA5B
split-complementary
#395FCA #CA5B39 #A7CA39
monochromatic
#1D326C #2A489C #395FCA #6986D7 #9AADE4

Accessibility & contrast

On white

5.73
#395FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#395FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FCA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FCA#FFFFFF#000000##FFFFFF
##395FCA1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395fca;
/* rgb */ color: rgb(57, 95, 202);
/* oklch */ color: oklch(51.9% 0.172 265.9);
Tailwind
colors: {
  custom: {
    50: '#828bdb',
    500: '#395fca',
    950: '#000000',
  },
}
SCSS
$custom: #395fca;
$custom-light: #828bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#395fca",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 224.276,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.17193,
    "h": 265.9
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#395FCA
secondary
#D0BF8F
accent
#B947E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #395FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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