#395ABA#395ABA

#395ABA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.156 H 266.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#395ABA
RGBrgb(57, 90, 186)
HSLhsl(225, 53%, 48%)
HSVhsv(225, 69%, 73%)
CMYKcmyk(69.4%, 51.6%, 0%, 27.1%)
CIE-LABlab(40.78, 20.60, -54.28)
CIE-LCHlch(40.78, 58.06, 290.78°)
OKLaboklab(49.69% -0.0097 -0.1559)
OKLCHoklch(49.69% 0.156 266.4)
XYZxyz(14.2034, 11.7259, 47.9597)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ABA #BA9939
analogous
#399ABA #395ABA #5839BA
triadic
#395ABA #BA395A #5ABA39
tetradic
#395ABA #BA399A #BA9939 #39BA58
square
#395ABA #BA399A #BA9939 #39BA58
split-complementary
#395ABA #BA5839 #9ABA39
monochromatic
#1C2D5C #2B438B #395ABA #617DCF #90A4DD

Accessibility & contrast

On white

6.28
#395ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#395ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ABA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ABA#FFFFFF#000000##FFFFFF
##395ABA1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #395aba;
/* rgb */ color: rgb(57, 90, 186);
/* oklch */ color: oklch(49.7% 0.156 266.4);
Tailwind
colors: {
  custom: {
    50: '#7f88cf',
    500: '#395aba',
    950: '#000000',
  },
}
SCSS
$custom: #395aba;
$custom-light: #7f88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#395aba",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 224.651,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4969,
    "c": 0.15623,
    "h": 266.4
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#395ABA
secondary
#C8B787
accent
#B74BDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #395ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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