#395BB2#395BB2

#395BB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.144 H 265.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#395BB2
RGBrgb(57, 91, 178)
HSLhsl(223, 51%, 46%)
HSVhsv(223, 68%, 70%)
CMYKcmyk(68%, 48.9%, 0%, 30.2%)
CIE-LABlab(40.52, 17.02, -50.01)
CIE-LCHlch(40.52, 52.83, 288.80°)
OKLaboklab(49.32% -0.0115 -0.1433)
OKLCHoklch(49.32% 0.144 265.4)
XYZxyz(13.4615, 11.5651, 43.6337)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BB2 #B29039
analogous
#3997B2 #395BB2 #5339B2
triadic
#395BB2 #B2395B #5BB239
tetradic
#395BB2 #B23997 #B29039 #39B253
square
#395BB2 #B23997 #B29039 #39B253
split-complementary
#395BB2 #B25339 #97B239
monochromatic
#1B2C55 #2A4384 #395BB2 #5D7CCB #8BA1DA

Accessibility & contrast

On white

6.34
#395BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#395BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BB2#FFFFFF#000000##FFFFFF
##395BB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #395bb2;
/* rgb */ color: rgb(57, 91, 178);
/* oklch */ color: oklch(49.3% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#7d88ca',
    500: '#395bb2',
    950: '#000000',
  },
}
SCSS
$custom: #395bb2;
$custom-light: #7d88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#395bb2",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 223.14,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.14381,
    "h": 265.4
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#395BB2
secondary
#C4B282
accent
#B34DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #395BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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