#394CA6#394CA6

#394CA6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.146 H 270.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#394CA6
RGBrgb(57, 76, 166)
HSLhsl(230, 49%, 44%)
HSVhsv(230, 66%, 65%)
CMYKcmyk(65.7%, 54.2%, 0%, 34.9%)
CIE-LABlab(35.58, 22.46, -50.86)
CIE-LCHlch(35.58, 55.60, 293.83°)
OKLaboklab(45.31% 0.0014 -0.1461)
OKLCHoklch(45.31% 0.146 270.5)
XYZxyz(11.1524, 8.7909, 37.1781)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA6 #A69339
analogous
#3982A6 #394CA6 #5C39A6
triadic
#394CA6 #A6394C #4CA639
tetradic
#394CA6 #A63982 #A69339 #39A65C
square
#394CA6 #A63982 #A69339 #39A65C
split-complementary
#394CA6 #A65C39 #82A639
monochromatic
#1A224B #293778 #394CA6 #576AC5 #8492D5

Accessibility & contrast

On white

7.61
#394CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#394CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA6#FFFFFF#000000##FFFFFF
##394CA61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59A9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394ca6;
/* rgb */ color: rgb(57, 76, 166);
/* oklch */ color: oklch(45.3% 0.146 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b7dc1',
    500: '#394ca6',
    950: '#000000',
  },
}
SCSS
$custom: #394ca6;
$custom-light: #7b7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca6",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 229.541,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.14608,
    "h": 270.5
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#394CA6
secondary
#BFB37C
accent
#C14FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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