#395ECA#395ECA

#395ECA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.173 H 266.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#395ECA
RGBrgb(57, 94, 202)
HSLhsl(225, 58%, 51%)
HSVhsv(225, 72%, 79%)
CMYKcmyk(71.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(42.97, 23.88, -60.02)
CIE-LCHlch(42.97, 64.60, 291.69°)
OKLaboklab(51.71% -0.0116 -0.1728)
OKLCHoklch(51.71% 0.173 266.2)
XYZxyz(16.3470, 13.1378, 57.5400)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ECA #CAA539
analogous
#39A6CA #395ECA #5C39CA
triadic
#395ECA #CA395E #5ECA39
tetradic
#395ECA #CA39A6 #CAA539 #39CA5C
square
#395ECA #CA39A6 #CAA539 #39CA5C
split-complementary
#395ECA #CA5C39 #A6CA39
monochromatic
#1D316C #2A479C #395ECA #6985D7 #9AADE4

Accessibility & contrast

On white

5.79
#395ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#395ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ECA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ECA#FFFFFF#000000##FFFFFF
##395ECA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6CCE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395eca;
/* rgb */ color: rgb(57, 94, 202);
/* oklch */ color: oklch(51.7% 0.173 266.2);
Tailwind
colors: {
  custom: {
    50: '#828bdb',
    500: '#395eca',
    950: '#000000',
  },
}
SCSS
$custom: #395eca;
$custom-light: #828bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#395eca",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 224.69,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.17316,
    "h": 266.2
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#395ECA
secondary
#D0BF8F
accent
#BA47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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