#394DC9#394DC9

#394DC9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.192 H 270.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#394DC9
RGBrgb(57, 77, 201)
HSLhsl(232, 57%, 51%)
HSVhsv(232, 72%, 79%)
CMYKcmyk(71.6%, 61.7%, 0%, 21.2%)
CIE-LABlab(38.54, 34.40, -66.65)
CIE-LCHlch(38.54, 75.01, 297.30°)
OKLaboklab(48.37% 0.0012 -0.1925)
OKLCHoklch(48.37% 0.192 270.4)
XYZxyz(14.8802, 10.3931, 56.4689)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC9 #C9B539
analogous
#3995C9 #394DC9 #6D39C9
triadic
#394DC9 #C9394D #4DC939
tetradic
#394DC9 #C93995 #C9B539 #39C96D
square
#394DC9 #C93995 #C9B539 #39C96D
split-complementary
#394DC9 #C96D39 #95C939
monochromatic
#1D286B #2A3A9B #394DC9 #6978D6 #99A3E3

Accessibility & contrast

On white

6.82
#394DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#394DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DC9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DC9#FFFFFF#000000##FFFFFF
##394DC91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394dc9;
/* rgb */ color: rgb(57, 77, 201);
/* oklch */ color: oklch(48.4% 0.192 270.4);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#394dc9',
    950: '#000000',
  },
}
SCSS
$custom: #394dc9;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc9",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 231.667,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.19247,
    "h": 270.4
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#394DC9
secondary
#CFC68F
accent
#CB47E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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