#394CC9#394CC9

#394CC9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.194 H 270.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#394CC9
RGBrgb(57, 76, 201)
HSLhsl(232, 57%, 51%)
HSVhsv(232, 72%, 79%)
CMYKcmyk(71.6%, 62.2%, 0%, 21.2%)
CIE-LABlab(38.30, 35.03, -67.05)
CIE-LCHlch(38.30, 75.65, 297.58°)
OKLaboklab(48.19% 0.0019 -0.1936)
OKLCHoklch(48.19% 0.194 270.6)
XYZxyz(14.8108, 10.2543, 56.4457)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC9 #C9B639
analogous
#3994C9 #394CC9 #6E39C9
triadic
#394CC9 #C9394C #4CC939
tetradic
#394CC9 #C93994 #C9B639 #39C96E
square
#394CC9 #C93994 #C9B639 #39C96E
split-complementary
#394CC9 #C96E39 #94C939
monochromatic
#1D276B #2A399B #394CC9 #6977D6 #99A3E3

Accessibility & contrast

On white

6.88
#394CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#394CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CC9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC9#FFFFFF#000000##FFFFFF
##394CC91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394cc9;
/* rgb */ color: rgb(57, 76, 201);
/* oklch */ color: oklch(48.2% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#394cc9',
    950: '#000000',
  },
}
SCSS
$custom: #394cc9;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc9",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 232.083,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.19366,
    "h": 270.6
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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