#394AA2#394AA2

#394AA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.143 H 271.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#394AA2
RGBrgb(57, 74, 162)
HSLhsl(230, 48%, 43%)
HSVhsv(230, 65%, 64%)
CMYKcmyk(64.8%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.75, 22.33, -49.80)
CIE-LCHlch(34.75, 54.58, 294.15°)
OKLaboklab(44.6% 0.003 -0.143)
OKLCHoklch(44.6% 0.143 271.2)
XYZxyz(10.6555, 8.3751, 35.2304)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AA2 #A29139
analogous
#397EA2 #394AA2 #5D39A2
triadic
#394AA2 #A2394A #4AA239
tetradic
#394AA2 #A2397E #A29139 #39A25D
square
#394AA2 #A2397E #A29139 #39A25D
split-complementary
#394AA2 #A25D39 #7EA239
monochromatic
#192147 #293575 #394AA2 #5567C3 #828FD3

Accessibility & contrast

On white

7.85
#394AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#394AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AA2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AA2#FFFFFF#000000##FFFFFF
##394AA21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #394aa2;
/* rgb */ color: rgb(57, 74, 162);
/* oklch */ color: oklch(44.6% 0.143 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b7cbe',
    500: '#394aa2',
    950: '#000000',
  },
}
SCSS
$custom: #394aa2;
$custom-light: #7b7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#394aa2",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 230.286,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.14301,
    "h": 271.2
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#394AA2
secondary
#BDB27A
accent
#C250D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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