#394BC9#394BC9

#394BC9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.195 H 270.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#394BC9
RGBrgb(57, 75, 201)
HSLhsl(233, 57%, 51%)
HSVhsv(233, 72%, 79%)
CMYKcmyk(71.6%, 62.7%, 0%, 21.2%)
CIE-LABlab(38.05, 35.66, -67.45)
CIE-LCHlch(38.05, 76.30, 297.87°)
OKLaboklab(48.01% 0.0026 -0.1948)
OKLCHoklch(48.01% 0.195 270.8)
XYZxyz(14.7424, 10.1176, 56.4230)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BC9 #C9B739
analogous
#3993C9 #394BC9 #6F39C9
triadic
#394BC9 #C9394B #4BC939
tetradic
#394BC9 #C93993 #C9B739 #39C96F
square
#394BC9 #C93993 #C9B739 #39C96F
split-complementary
#394BC9 #C96F39 #93C939
monochromatic
#1D276B #2A389B #394BC9 #6977D6 #99A2E3

Accessibility & contrast

On white

6.94
#394BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#394BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394BC9
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BC9#FFFFFF#000000##FFFFFF
##394BC91.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394bc9;
/* rgb */ color: rgb(57, 75, 201);
/* oklch */ color: oklch(48.0% 0.195 270.8);
Tailwind
colors: {
  custom: {
    50: '#837dda',
    500: '#394bc9',
    950: '#000000',
  },
}
SCSS
$custom: #394bc9;
$custom-light: #837dda;
$custom-dark: #000000;
JSON
{
  "hex": "#394bc9",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 232.5,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4801,
    "c": 0.19484,
    "h": 270.8
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#394BC9
secondary
#CFC78F
accent
#CD47E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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