#394DAF#394DAF

#394DAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.157 H 270.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#394DAF
RGBrgb(57, 77, 175)
HSLhsl(230, 51%, 45%)
HSVhsv(230, 67%, 69%)
CMYKcmyk(67.4%, 56%, 0%, 31.4%)
CIE-LABlab(36.50, 25.06, -54.72)
CIE-LCHlch(36.50, 60.19, 294.61°)
OKLaboklab(46.22% 0.001 -0.1574)
OKLCHoklch(46.22% 0.157 270.4)
XYZxyz(12.0765, 9.2716, 41.7023)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DAF #AF9B39
analogous
#3988AF #394DAF #6039AF
triadic
#394DAF #AF394D #4DAF39
tetradic
#394DAF #AF3988 #AF9B39 #39AF60
square
#394DAF #AF3988 #AF9B39 #39AF60
split-complementary
#394DAF #AF6039 #88AF39
monochromatic
#1B2453 #2A3981 #394DAF #5B6ECA #8A97D9

Accessibility & contrast

On white

7.36
#394DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#394DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DAF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DAF#FFFFFF#000000##FFFFFF
##394DAF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394daf;
/* rgb */ color: rgb(57, 77, 175);
/* oklch */ color: oklch(46.2% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d7ec8',
    500: '#394daf',
    950: '#000000',
  },
}
SCSS
$custom: #394daf;
$custom-light: #7d7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#394daf",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 229.831,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.15742,
    "h": 270.4
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#394DAF
secondary
#C3B881
accent
#C24DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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