#395BCA#395BCA

#395BCA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.177 H 267.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#395BCA
RGBrgb(57, 91, 202)
HSLhsl(226, 58%, 51%)
HSVhsv(226, 72%, 79%)
CMYKcmyk(71.8%, 55%, 0%, 20.8%)
CIE-LABlab(42.18, 25.81, -61.31)
CIE-LCHlch(42.18, 66.52, 292.83°)
OKLaboklab(51.11% -0.0092 -0.1766)
OKLCHoklch(51.11% 0.177 267)
XYZxyz(16.0854, 12.6146, 57.4528)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BCA #CAA839
analogous
#39A3CA #395BCA #5F39CA
triadic
#395BCA #CA395B #5BCA39
tetradic
#395BCA #CA39A3 #CAA839 #39CA5F
square
#395BCA #CA39A3 #CAA839 #39CA5F
split-complementary
#395BCA #CA5F39 #A3CA39
monochromatic
#1D2F6C #2A459C #395BCA #6983D7 #9AABE4

Accessibility & contrast

On white

5.96
#395BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#395BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BCA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BCA#FFFFFF#000000##FFFFFF
##395BCA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395bca;
/* rgb */ color: rgb(57, 91, 202);
/* oklch */ color: oklch(51.1% 0.177 267.0);
Tailwind
colors: {
  custom: {
    50: '#8288db',
    500: '#395bca',
    950: '#000000',
  },
}
SCSS
$custom: #395bca;
$custom-light: #8288db;
$custom-dark: #000000;
JSON
{
  "hex": "#395bca",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 225.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.17684,
    "h": 267
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#395BCA
secondary
#D0C08F
accent
#BD47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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