#395ACF#395ACF

#395ACF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.185 H 267.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#395ACF
RGBrgb(57, 90, 207)
HSLhsl(227, 61%, 52%)
HSVhsv(227, 72%, 81%)
CMYKcmyk(72.5%, 56.5%, 0%, 18.8%)
CIE-LABlab(42.29, 28.27, -64.01)
CIE-LCHlch(42.29, 69.98, 293.83°)
OKLaboklab(51.3% -0.0082 -0.1846)
OKLCHoklch(51.3% 0.185 267.5)
XYZxyz(16.6021, 12.6854, 60.5930)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ACF #CFAE39
analogous
#39A5CF #395ACF #6339CF
triadic
#395ACF #CF395A #5ACF39
tetradic
#395ACF #CF39A5 #CFAE39 #39CF63
square
#395ACF #CF39A5 #CFAE39 #39CF63
split-complementary
#395ACF #CF6339 #A5CF39
monochromatic
#1C2F72 #2843A3 #395ACF #6A83DB #9CACE7

Accessibility & contrast

On white

5.94
#395ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#395ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ACF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ACF#FFFFFF#000000##FFFFFF
##395ACF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395acf;
/* rgb */ color: rgb(57, 90, 207);
/* oklch */ color: oklch(51.3% 0.185 267.5);
Tailwind
colors: {
  custom: {
    50: '#8388df',
    500: '#395acf',
    950: '#000000',
  },
}
SCSS
$custom: #395acf;
$custom-light: #8388df;
$custom-dark: #000000;
JSON
{
  "hex": "#395acf",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 226.8,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.18475,
    "h": 267.5
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#395ACF
secondary
#D3C491
accent
#C144E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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