#394CAC#394CAC

#394CAC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.155 H 270.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#394CAC
RGBrgb(57, 76, 172)
HSLhsl(230, 50%, 45%)
HSVhsv(230, 67%, 67%)
CMYKcmyk(66.9%, 55.8%, 0%, 32.5%)
CIE-LABlab(36.02, 24.63, -53.73)
CIE-LCHlch(36.02, 59.11, 294.63°)
OKLaboklab(45.78% 0.0017 -0.1545)
OKLCHoklch(45.78% 0.155 270.6)
XYZxyz(11.7157, 9.0162, 40.1446)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CAC #AC9939
analogous
#3985AC #394CAC #6039AC
triadic
#394CAC #AC394C #4CAC39
tetradic
#394CAC #AC3985 #AC9939 #39AC60
square
#394CAC #AC3985 #AC9939 #39AC60
split-complementary
#394CAC #AC6039 #85AC39
monochromatic
#1B2350 #2A387E #394CAC #5A6CC8 #8895D8

Accessibility & contrast

On white

7.49
#394CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394CAC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CAC#FFFFFF#000000##FFFFFF
##394CAC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394cac;
/* rgb */ color: rgb(57, 76, 172);
/* oklch */ color: oklch(45.8% 0.155 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d7dc5',
    500: '#394cac',
    950: '#000000',
  },
}
SCSS
$custom: #394cac;
$custom-light: #7d7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#394cac",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 230.087,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.15453,
    "h": 270.6
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#394CAC
secondary
#C2B77F
accent
#C34EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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