#394BA2#394BA2

#394BA2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.142 H 270.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#394BA2
RGBrgb(57, 75, 162)
HSLhsl(230, 48%, 43%)
HSVhsv(230, 65%, 64%)
CMYKcmyk(64.8%, 53.7%, 0%, 36.5%)
CIE-LABlab(35.02, 21.67, -49.36)
CIE-LCHlch(35.02, 53.91, 293.70°)
OKLaboklab(44.81% 0.0021 -0.1417)
OKLCHoklch(44.81% 0.142 270.8)
XYZxyz(10.7228, 8.5097, 35.2529)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BA2 #A29039
analogous
#397FA2 #394BA2 #5B39A2
triadic
#394BA2 #A2394B #4BA239
tetradic
#394BA2 #A2397F #A29039 #39A25B
square
#394BA2 #A2397F #A29039 #39A25B
split-complementary
#394BA2 #A25B39 #7FA239
monochromatic
#192147 #293675 #394BA2 #5568C3 #8290D3

Accessibility & contrast

On white

7.77
#394BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#394BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BA2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BA2#FFFFFF#000000##FFFFFF
##394BA21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #394ba2;
/* rgb */ color: rgb(57, 75, 162);
/* oklch */ color: oklch(44.8% 0.142 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b7dbe',
    500: '#394ba2',
    950: '#000000',
  },
}
SCSS
$custom: #394ba2;
$custom-light: #7b7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#394ba2",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 229.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44805,
    "c": 0.1417,
    "h": 270.8
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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