#394FA0#394FA0

#394FA0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.134 H 269.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#394FA0
RGBrgb(57, 79, 160)
HSLhsl(227, 47%, 43%)
HSVhsv(227, 64%, 63%)
CMYKcmyk(64.4%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.98, 18.31, -46.61)
CIE-LCHlch(35.98, 50.08, 291.45°)
OKLaboklab(45.49% -0.0021 -0.1335)
OKLCHoklch(45.49% 0.134 269.1)
XYZxyz(10.8263, 8.9989, 34.4173)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA0 #A08A39
analogous
#3983A0 #394FA0 #5639A0
triadic
#394FA0 #A0394F #4FA039
tetradic
#394FA0 #A03983 #A08A39 #39A056
square
#394FA0 #A03983 #A08A39 #39A056
split-complementary
#394FA0 #A05639 #83A039
monochromatic
#192246 #293973 #394FA0 #546CC2 #8193D2

Accessibility & contrast

On white

7.50
#394FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#394FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FA0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA0#FFFFFF#000000##FFFFFF
##394FA01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A3
Deuteranopia (green-blind)
#07509E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394fa0;
/* rgb */ color: rgb(57, 79, 160);
/* oklch */ color: oklch(45.5% 0.134 269.1);
Tailwind
colors: {
  custom: {
    50: '#7a80bd',
    500: '#394fa0',
    950: '#000000',
  },
}
SCSS
$custom: #394fa0;
$custom-light: #7a80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa0",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 227.184,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.13356,
    "h": 269.1
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#394FA0
secondary
#BCAE79
accent
#BA51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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