#394CCA#394CCA

#394CCA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.195 H 270.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#394CCA
RGBrgb(57, 76, 202)
HSLhsl(232, 58%, 51%)
HSVhsv(232, 72%, 79%)
CMYKcmyk(71.8%, 62.4%, 0%, 20.8%)
CIE-LABlab(38.38, 35.38, -67.50)
CIE-LCHlch(38.38, 76.21, 297.67°)
OKLaboklab(48.28% 0.0019 -0.195)
OKLCHoklch(48.28% 0.195 270.5)
XYZxyz(14.9288, 10.3015, 57.0673)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CCA #CAB739
analogous
#3994CA #394CCA #6E39CA
triadic
#394CCA #CA394C #4CCA39
tetradic
#394CCA #CA3994 #CAB739 #39CA6E
square
#394CCA #CA3994 #CAB739 #39CA6E
split-complementary
#394CCA #CA6E39 #94CA39
monochromatic
#1D276C #2A399C #394CCA #6978D7 #9AA3E4

Accessibility & contrast

On white

6.86
#394CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#394CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CCA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CCA#FFFFFF#000000##FFFFFF
##394CCA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394cca;
/* rgb */ color: rgb(57, 76, 202);
/* oklch */ color: oklch(48.3% 0.195 270.5);
Tailwind
colors: {
  custom: {
    50: '#837edb',
    500: '#394cca',
    950: '#000000',
  },
}
SCSS
$custom: #394cca;
$custom-light: #837edb;
$custom-dark: #000000;
JSON
{
  "hex": "#394cca",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 232.138,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.19496,
    "h": 270.5
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#394CCA
secondary
#D0C78F
accent
#CD47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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