#394ACA#394ACA

#394ACA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.9% C 0.197 H 270.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#394ACA
RGBrgb(57, 74, 202)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 72%, 79%)
CMYKcmyk(71.8%, 63.4%, 0%, 20.8%)
CIE-LABlab(37.90, 36.64, -68.28)
CIE-LCHlch(37.90, 77.49, 298.22°)
OKLaboklab(47.92% 0.0032 -0.1973)
OKLCHoklch(47.92% 0.197 270.9)
XYZxyz(14.7932, 10.0302, 57.0221)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394ACA #CAB939
analogous
#3992CA #394ACA #7139CA
triadic
#394ACA #CA394A #4ACA39
tetradic
#394ACA #CA3992 #CAB939 #39CA71
square
#394ACA #CA3992 #CAB939 #39CA71
split-complementary
#394ACA #CA7139 #92CA39
monochromatic
#1D266C #2A379C #394ACA #6976D7 #9AA2E4

Accessibility & contrast

On white

6.99
#394ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#394ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394ACA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394ACA#FFFFFF#000000##FFFFFF
##394ACA1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394aca;
/* rgb */ color: rgb(57, 74, 202);
/* oklch */ color: oklch(47.9% 0.197 270.9);
Tailwind
colors: {
  custom: {
    50: '#837cdb',
    500: '#394aca',
    950: '#000000',
  },
}
SCSS
$custom: #394aca;
$custom-light: #837cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#394aca",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 232.966,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47922,
    "c": 0.19731,
    "h": 270.9
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#394ACA
secondary
#D0C88F
accent
#CF47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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