#394DDB#394DDB

#394DDB is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.0% C 0.216 H 270.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#394DDB
RGBrgb(57, 77, 219)
HSLhsl(233, 69%, 54%)
HSVhsv(233, 74%, 86%)
CMYKcmyk(74%, 64.8%, 0%, 14.1%)
CIE-LABlab(40.07, 40.73, -74.53)
CIE-LCHlch(40.07, 84.93, 298.66°)
OKLaboklab(49.96% 0.0004 -0.2155)
OKLCHoklch(49.96% 0.216 270.1)
XYZxyz(17.1230, 11.2903, 68.2809)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DDB #DBC739
analogous
#399EDB #394DDB #7639DB
triadic
#394DDB #DB394D #4DDB39
tetradic
#394DDB #DB399E #DBC739 #39DB76
square
#394DDB #DB399E #DBC739 #39DB76
split-complementary
#394DDB #DB7639 #9EDB39
monochromatic
#182582 #2133B6 #394DDB #6D7CE4 #A1AAEE

Accessibility & contrast

On white

6.44
#394DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#394DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DDB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DDB#FFFFFF#000000##FFFFFF
##394DDB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394ddb;
/* rgb */ color: rgb(57, 77, 219);
/* oklch */ color: oklch(50.0% 0.216 270.1);
Tailwind
colors: {
  custom: {
    50: '#877fe7',
    500: '#394ddb',
    950: '#000000',
  },
}
SCSS
$custom: #394ddb;
$custom-light: #877fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#394ddb",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 232.593,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.21553,
    "h": 270.1
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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