#394CDB#394CDB

#394CDB is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 49.8% C 0.217 H 270.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#394CDB
RGBrgb(57, 76, 219)
HSLhsl(233, 69%, 54%)
HSVhsv(233, 74%, 86%)
CMYKcmyk(74%, 65.3%, 0%, 14.1%)
CIE-LABlab(39.83, 41.34, -74.90)
CIE-LCHlch(39.83, 85.56, 298.90°)
OKLaboklab(49.79% 0.001 -0.2166)
OKLCHoklch(49.79% 0.217 270.3)
XYZxyz(17.0536, 11.1514, 68.2578)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CDB #DBC839
analogous
#399DDB #394CDB #7739DB
triadic
#394CDB #DB394C #4CDB39
tetradic
#394CDB #DB399D #DBC839 #39DB77
square
#394CDB #DB399D #DBC839 #39DB77
split-complementary
#394CDB #DB7739 #9DDB39
monochromatic
#182482 #2132B6 #394CDB #6D7BE4 #A1AAEE

Accessibility & contrast

On white

6.50
#394CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#394CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CDB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CDB#FFFFFF#000000##FFFFFF
##394CDB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0056D8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #394cdb;
/* rgb */ color: rgb(57, 76, 219);
/* oklch */ color: oklch(49.8% 0.217 270.3);
Tailwind
colors: {
  custom: {
    50: '#877ee7',
    500: '#394cdb',
    950: '#000000',
  },
}
SCSS
$custom: #394cdb;
$custom-light: #877ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#394cdb",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 232.963,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49792,
    "c": 0.21665,
    "h": 270.3
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#394CDB
secondary
#DAD295
accent
#D73CEC
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #394CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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