#394CA2#394CA2

#394CA2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.140 H 270.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#394CA2
RGBrgb(57, 76, 162)
HSLhsl(229, 48%, 43%)
HSVhsv(229, 65%, 64%)
CMYKcmyk(64.8%, 53.1%, 0%, 36.5%)
CIE-LABlab(35.29, 21.01, -48.92)
CIE-LCHlch(35.29, 53.25, 293.24°)
OKLaboklab(45.01% 0.0011 -0.1404)
OKLCHoklch(45.01% 0.14 270.4)
XYZxyz(10.7912, 8.6464, 35.2757)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA2 #A28F39
analogous
#3980A2 #394CA2 #5A39A2
triadic
#394CA2 #A2394C #4CA239
tetradic
#394CA2 #A23980 #A28F39 #39A25A
square
#394CA2 #A23980 #A28F39 #39A25A
split-complementary
#394CA2 #A25A39 #80A239
monochromatic
#192247 #293775 #394CA2 #5569C3 #8291D3

Accessibility & contrast

On white

7.69
#394CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#394CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA2#FFFFFF#000000##FFFFFF
##394CA21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394ca2;
/* rgb */ color: rgb(57, 76, 162);
/* oklch */ color: oklch(45.0% 0.140 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b7dbe',
    500: '#394ca2',
    950: '#000000',
  },
}
SCSS
$custom: #394ca2;
$custom-light: #7b7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca2",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 229.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.14037,
    "h": 270.4
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#394CA2
secondary
#BDB17A
accent
#BF50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA2

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

Preview Lab → · Contrast checker → · Palette generator →

#394CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva