#396FCA#396FCA

#396FCA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.3% C 0.153 H 260.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#396FCA
RGBrgb(57, 111, 202)
HSLhsl(218, 58%, 51%)
HSVhsv(218, 72%, 79%)
CMYKcmyk(71.8%, 45%, 0%, 20.8%)
CIE-LABlab(47.63, 13.04, -52.52)
CIE-LCHlch(47.63, 54.12, 283.94°)
OKLaboklab(55.26% -0.026 -0.1504)
OKLCHoklch(55.26% 0.153 260.2)
XYZxyz(18.0286, 16.5011, 58.1005)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396FCA #CA9439
analogous
#39B8CA #396FCA #4B39CA
triadic
#396FCA #CA396F #6FCA39
tetradic
#396FCA #CA39B8 #CA9439 #39CA4B
square
#396FCA #CA39B8 #CA9439 #39CA4B
split-complementary
#396FCA #CA4B39 #B8CA39
monochromatic
#1D3A6C #2A549C #396FCA #6992D7 #9AB5E4

Accessibility & contrast

On white

4.88
#396FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#396FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396FCA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396FCA#FFFFFF#000000##FFFFFF
##396FCA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4178CD
Deuteranopia (green-blind)
#236BC8
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #396fca;
/* rgb */ color: rgb(57, 111, 202);
/* oklch */ color: oklch(55.3% 0.153 260.2);
Tailwind
colors: {
  custom: {
    50: '#8197db',
    500: '#396fca',
    950: '#000000',
  },
}
SCSS
$custom: #396fca;
$custom-light: #8197db;
$custom-dark: #000000;
JSON
{
  "hex": "#396fca",
  "rgb": {
    "r": 57,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 217.655,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.15265,
    "h": 260.2
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#396FCA
secondary
#D0B88F
accent
#A847E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #396FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#396FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva