#395ECF#395ECF

#395ECF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.180 H 266.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#395ECF
RGBrgb(57, 94, 207)
HSLhsl(225, 61%, 52%)
HSVhsv(225, 72%, 81%)
CMYKcmyk(72.5%, 54.6%, 0%, 18.8%)
CIE-LABlab(43.33, 25.70, -62.32)
CIE-LCHlch(43.33, 67.41, 292.41°)
OKLaboklab(52.09% -0.0112 -0.1795)
OKLCHoklch(52.09% 0.18 266.4)
XYZxyz(16.9486, 13.3785, 60.7085)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ECF #CFAA39
analogous
#39A9CF #395ECF #5F39CF
triadic
#395ECF #CF395E #5ECF39
tetradic
#395ECF #CF39A9 #CFAA39 #39CF5F
square
#395ECF #CF39A9 #CFAA39 #39CF5F
split-complementary
#395ECF #CF5F39 #A9CF39
monochromatic
#1C3172 #2846A3 #395ECF #6A86DB #9CAEE7

Accessibility & contrast

On white

5.71
#395ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#395ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ECF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ECF#FFFFFF#000000##FFFFFF
##395ECF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395ecf;
/* rgb */ color: rgb(57, 94, 207);
/* oklch */ color: oklch(52.1% 0.180 266.4);
Tailwind
colors: {
  custom: {
    50: '#838bde',
    500: '#395ecf',
    950: '#000000',
  },
}
SCSS
$custom: #395ecf;
$custom-light: #838bde;
$custom-dark: #000000;
JSON
{
  "hex": "#395ecf",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 225.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.17988,
    "h": 266.4
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#395ECF
secondary
#D3C391
accent
#BD44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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