#395FBF#395FBF

#395FBF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.157 H 265.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#395FBF
RGBrgb(57, 95, 191)
HSLhsl(223, 54%, 49%)
HSVhsv(223, 70%, 75%)
CMYKcmyk(70.2%, 50.3%, 0%, 25.1%)
CIE-LABlab(42.48, 19.20, -54.44)
CIE-LCHlch(42.48, 57.73, 289.43°)
OKLaboklab(51.09% -0.0135 -0.1563)
OKLCHoklch(51.09% 0.157 265.1)
XYZxyz(15.1802, 12.8143, 50.9535)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FBF #BF9939
analogous
#39A2BF #395FBF #5639BF
triadic
#395FBF #BF395F #5FBF39
tetradic
#395FBF #BF39A2 #BF9939 #39BF56
square
#395FBF #BF39A2 #BF9939 #39BF56
split-complementary
#395FBF #BF5639 #A2BF39
monochromatic
#1D3061 #2B4890 #395FBF #6483D1 #93A9DF

Accessibility & contrast

On white

5.89
#395FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#395FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FBF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FBF#FFFFFF#000000##FFFFFF
##395FBF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC2
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395fbf;
/* rgb */ color: rgb(57, 95, 191);
/* oklch */ color: oklch(51.1% 0.157 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f8bd3',
    500: '#395fbf',
    950: '#000000',
  },
}
SCSS
$custom: #395fbf;
$custom-light: #7f8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#395fbf",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 222.985,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.15691,
    "h": 265.1
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#395FBF
secondary
#CAB88A
accent
#B44ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #395FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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