#394283#394283

#394283 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.108 H 274.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#394283
RGBrgb(57, 66, 131)
HSLhsl(233, 39%, 37%)
HSVhsv(233, 56%, 51%)
CMYKcmyk(56.5%, 49.6%, 0%, 48.6%)
CIE-LABlab(30.41, 16.59, -37.87)
CIE-LCHlch(30.41, 41.34, 293.66°)
OKLaboklab(40.64% 0.0087 -0.108)
OKLCHoklch(40.64% 0.108 274.6)
XYZxyz(7.7310, 6.4045, 22.2971)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394283 #837A39
analogous
#396783 #394283 #553983
triadic
#394283 #833942 #428339
tetradic
#394283 #833967 #837A39 #398355
square
#394283 #833967 #837A39 #398355
split-complementary
#394283 #835539 #678339
monochromatic
#14172E #262D58 #394283 #4C57AE #747DC2

Accessibility & contrast

On white

9.21
#394283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#394283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394283
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394283#FFFFFF#000000##FFFFFF
##3942831.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B85
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#13505C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394283;
/* rgb */ color: rgb(57, 66, 131);
/* oklch */ color: oklch(40.6% 0.108 274.6);
Tailwind
colors: {
  custom: {
    50: '#7676a7',
    500: '#394283',
    950: '#000000',
  },
}
SCSS
$custom: #394283;
$custom-light: #7676a7;
$custom-dark: #000000;
JSON
{
  "hex": "#394283",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 232.703,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.10832,
    "h": 274.6
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#394283
secondary
#ACA46C
accent
#C159CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394283

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

Preview Lab → · Contrast checker → · Palette generator →

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