#394297#394297

#394297 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.138 H 274.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#394297
RGBrgb(57, 66, 151)
HSLhsl(234, 45%, 41%)
HSVhsv(234, 62%, 59%)
CMYKcmyk(62.3%, 56.3%, 0%, 40.8%)
CIE-LABlab(31.81, 23.67, -47.91)
CIE-LCHlch(31.81, 53.44, 296.29°)
OKLaboklab(42.14% 0.0104 -0.1375)
OKLCHoklch(42.14% 0.138 274.3)
XYZxyz(9.2196, 6.9999, 30.1374)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394297 #978E39
analogous
#397197 #394297 #5F3997
triadic
#394297 #973942 #429739
tetradic
#394297 #973971 #978E39 #39975F
square
#394297 #973971 #978E39 #39975F
split-complementary
#394297 #975F39 #719739
monochromatic
#171B3E #282F6B #394297 #505BBD #7D84CE

Accessibility & contrast

On white

8.75
#394297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#394297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394297
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394297#FFFFFF#000000##FFFFFF
##3942971.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394297;
/* rgb */ color: rgb(57, 66, 151);
/* oklch */ color: oklch(42.1% 0.138 274.3);
Tailwind
colors: {
  custom: {
    50: '#7976b6',
    500: '#394297',
    950: '#000000',
  },
}
SCSS
$custom: #394297;
$custom-light: #7976b6;
$custom-dark: #000000;
JSON
{
  "hex": "#394297",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 234.255,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.13792,
    "h": 274.3
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#394297
secondary
#B7B175
accent
#C853D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394297

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

Preview Lab → · Contrast checker → · Palette generator →

#394297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva