#396AF2#396AF2

#396AF2 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.2% C 0.211 H 265.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#396AF2
RGBrgb(57, 106, 242)
HSLhsl(224, 88%, 59%)
HSVhsv(224, 76%, 95%)
CMYKcmyk(76.4%, 56.2%, 0%, 5.1%)
CIE-LABlab(48.99, 30.83, -72.95)
CIE-LCHlch(48.99, 79.19, 292.91°)
OKLaboklab(57.16% -0.0178 -0.2106)
OKLCHoklch(57.16% 0.211 265.2)
XYZxyz(22.8627, 17.5861, 86.1767)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396AF2 #F2C139
analogous
#39C6F2 #396AF2 #6439F2
triadic
#396AF2 #F2396A #6AF239
tetradic
#396AF2 #F239C6 #F2C139 #39F264
square
#396AF2 #F239C6 #F2C139 #39F264
split-complementary
#396AF2 #F26439 #C6F239
monochromatic
#0B34A6 #0F46DF #396AF2 #7295F6 #ACC0FA

Accessibility & contrast

On white

4.65
#396AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#396AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #396AF2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396AF2#FFFFFF#000000##FFFFFF
##396AF21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #396af2;
/* rgb */ color: rgb(57, 106, 242);
/* oklch */ color: oklch(57.2% 0.211 265.2);
Tailwind
colors: {
  custom: {
    50: '#8a94f7',
    500: '#396af2',
    950: '#000000',
  },
}
SCSS
$custom: #396af2;
$custom-light: #8a94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#396af2",
  "rgb": {
    "r": 57,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 224.108,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.21133,
    "h": 265.2
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#396AF2
secondary
#E8D59F
accent
#C62AFE
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #396AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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