#394FBA#394FBA

#394FBA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.170 H 269.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#394FBA
RGBrgb(57, 79, 186)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 69%, 73%)
CMYKcmyk(69.4%, 57.5%, 0%, 27.1%)
CIE-LABlab(37.85, 27.74, -59.02)
CIE-LCHlch(37.85, 65.21, 295.17°)
OKLaboklab(47.49% -0.0003 -0.17)
OKLCHoklch(47.49% 0.17 269.9)
XYZxyz(13.3432, 10.0057, 47.6729)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FBA #BAA439
analogous
#3990BA #394FBA #6339BA
triadic
#394FBA #BA394F #4FBA39
tetradic
#394FBA #BA3990 #BAA439 #39BA63
square
#394FBA #BA3990 #BAA439 #39BA63
split-complementary
#394FBA #BA6339 #90BA39
monochromatic
#1C275C #2B3B8B #394FBA #6174CF #909DDD

Accessibility & contrast

On white

7.00
#394FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#394FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FBA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FBA#FFFFFF#000000##FFFFFF
##394FBA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394fba;
/* rgb */ color: rgb(57, 79, 186);
/* oklch */ color: oklch(47.5% 0.170 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f80d0',
    500: '#394fba',
    950: '#000000',
  },
}
SCSS
$custom: #394fba;
$custom-light: #7f80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#394fba",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 229.767,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.17003,
    "h": 269.9
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#394FBA
secondary
#C8BD87
accent
#C44BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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