#394063#394063

#394063 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.061 H 274.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#394063
RGBrgb(57, 64, 99)
HSLhsl(230, 27%, 31%)
HSVhsv(230, 42%, 39%)
CMYKcmyk(42.4%, 35.4%, 0%, 61.2%)
CIE-LABlab(27.95, 7.11, -21.56)
CIE-LCHlch(27.95, 22.70, 288.26°)
OKLaboklab(38.14% 0.0048 -0.0603)
OKLCHoklch(38.14% 0.061 274.5)
XYZxyz(5.7722, 5.4372, 12.5473)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394063 #635C39
analogous
#395563 #394063 #473963
triadic
#394063 #633940 #406339
tetradic
#394063 #633955 #635C39 #396347
square
#394063 #633955 #635C39 #396347
split-complementary
#394063 #634739 #556339
monochromatic
#0C0E15 #23273C #394063 #4F598A #6C76AA

Accessibility & contrast

On white

10.06
#394063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#394063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394063
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394063#FFFFFF#000000##FFFFFF
##3940631.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344464
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#2C474D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #394063;
/* rgb */ color: rgb(57, 64, 99);
/* oklch */ color: oklch(38.1% 0.061 274.5);
Tailwind
colors: {
  custom: {
    50: '#71748f',
    500: '#394063',
    950: '#000000',
  },
}
SCSS
$custom: #394063;
$custom-light: #71748f;
$custom-dark: #000000;
JSON
{
  "hex": "#394063",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 99
  },
  "hsl": {
    "h": 230,
    "s": 26.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.06053,
    "h": 274.5
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#394063
secondary
#938B65
accent
#B365C3
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #394063

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

Preview Lab → · Contrast checker → · Palette generator →

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