#395ACA#395ACA

#395ACA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.178 H 267.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#395ACA
RGBrgb(57, 90, 202)
HSLhsl(226, 58%, 51%)
HSVhsv(226, 72%, 79%)
CMYKcmyk(71.8%, 55.4%, 0%, 20.8%)
CIE-LABlab(41.91, 26.45, -61.74)
CIE-LCHlch(41.91, 67.16, 293.19°)
OKLaboklab(50.91% -0.0084 -0.1779)
OKLCHoklch(50.91% 0.178 267.3)
XYZxyz(16.0005, 12.4448, 57.4245)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ACA #CAA939
analogous
#39A2CA #395ACA #6039CA
triadic
#395ACA #CA395A #5ACA39
tetradic
#395ACA #CA39A2 #CAA939 #39CA60
square
#395ACA #CA39A2 #CAA939 #39CA60
split-complementary
#395ACA #CA6039 #A2CA39
monochromatic
#1D2F6C #2A449C #395ACA #6982D7 #9AAAE4

Accessibility & contrast

On white

6.02
#395ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#395ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ACA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ACA#FFFFFF#000000##FFFFFF
##395ACA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395aca;
/* rgb */ color: rgb(57, 90, 202);
/* oklch */ color: oklch(50.9% 0.178 267.3);
Tailwind
colors: {
  custom: {
    50: '#8288db',
    500: '#395aca',
    950: '#000000',
  },
}
SCSS
$custom: #395aca;
$custom-light: #8288db;
$custom-dark: #000000;
JSON
{
  "hex": "#395aca",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 226.345,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.17806,
    "h": 267.3
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#395ACA
secondary
#D0C18F
accent
#BE47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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