#395BC9#395BC9

#395BC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.175 H 267.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#395BC9
RGBrgb(57, 91, 201)
HSLhsl(226, 57%, 51%)
HSVhsv(226, 72%, 79%)
CMYKcmyk(71.6%, 54.7%, 0%, 21.2%)
CIE-LABlab(42.10, 25.44, -60.85)
CIE-LCHlch(42.10, 65.95, 292.69°)
OKLaboklab(51.03% -0.0093 -0.1752)
OKLCHoklch(51.03% 0.176 267)
XYZxyz(15.9674, 12.5674, 56.8313)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BC9 #C9A739
analogous
#39A3C9 #395BC9 #5F39C9
triadic
#395BC9 #C9395B #5BC939
tetradic
#395BC9 #C939A3 #C9A739 #39C95F
square
#395BC9 #C939A3 #C9A739 #39C95F
split-complementary
#395BC9 #C95F39 #A3C939
monochromatic
#1D2F6B #2A459B #395BC9 #6983D6 #99ABE3

Accessibility & contrast

On white

5.98
#395BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#395BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BC9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BC9#FFFFFF#000000##FFFFFF
##395BC91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395bc9;
/* rgb */ color: rgb(57, 91, 201);
/* oklch */ color: oklch(51.0% 0.175 267.0);
Tailwind
colors: {
  custom: {
    50: '#8288da',
    500: '#395bc9',
    950: '#000000',
  },
}
SCSS
$custom: #395bc9;
$custom-light: #8288da;
$custom-dark: #000000;
JSON
{
  "hex": "#395bc9",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 225.833,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.1755,
    "h": 267
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#395BC9
secondary
#CFC08F
accent
#BC47E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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