#395FBB#395FBB

#395FBB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.151 H 264.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#395FBB
RGBrgb(57, 95, 187)
HSLhsl(222, 53%, 48%)
HSVhsv(222, 70%, 73%)
CMYKcmyk(69.5%, 49.2%, 0%, 26.7%)
CIE-LABlab(42.22, 17.73, -52.54)
CIE-LCHlch(42.22, 55.45, 288.65°)
OKLaboklab(50.81% -0.014 -0.1507)
OKLCHoklch(50.81% 0.151 264.7)
XYZxyz(14.7460, 12.6406, 48.6668)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FBB #BB9539
analogous
#39A0BB #395FBB #5439BB
triadic
#395FBB #BB395F #5FBB39
tetradic
#395FBB #BB39A0 #BB9539 #39BB54
square
#395FBB #BB39A0 #BB9539 #39BB54
split-complementary
#395FBB #BB5439 #A0BB39
monochromatic
#1C2F5D #2B478C #395FBB #6282CF #91A7DD

Accessibility & contrast

On white

5.95
#395FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#395FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FBB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FBB#FFFFFF#000000##FFFFFF
##395FBB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#015EB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395fbb;
/* rgb */ color: rgb(57, 95, 187);
/* oklch */ color: oklch(50.8% 0.151 264.7);
Tailwind
colors: {
  custom: {
    50: '#7f8bd0',
    500: '#395fbb',
    950: '#000000',
  },
}
SCSS
$custom: #395fbb;
$custom-light: #7f8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#395fbb",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 222.462,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.15139,
    "h": 264.7
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#395FBB
secondary
#C8B587
accent
#B24BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #395FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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