#404283#404283

#404283 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.2% C 0.107 H 279.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#404283
RGBrgb(64, 66, 131)
HSLhsl(238, 34%, 38%)
HSVhsv(238, 51%, 51%)
CMYKcmyk(51.1%, 49.6%, 0%, 48.6%)
CIE-LABlab(30.94, 18.24, -36.99)
CIE-LCHlch(30.94, 41.25, 296.25°)
OKLaboklab(41.17% 0.0172 -0.1052)
OKLCHoklch(41.17% 0.107 279.3)
XYZxyz(8.1580, 6.6247, 22.3171)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404283 #838140
analogous
#406383 #404283 #5F4083
triadic
#404283 #834042 #428340
tetradic
#404283 #834063 #838140 #40835F
square
#404283 #834063 #838140 #40835F
split-complementary
#404283 #835F40 #638340
monochromatic
#181931 #2C2D5A #404283 #5457AC #7E80C0

Accessibility & contrast

On white

9.03
#404283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#404283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404283
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404283#FFFFFF#000000##FFFFFF
##4042831.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#1F4682
Tritanopia (blue-blind)
#26505C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404283;
/* rgb */ color: rgb(64, 66, 131);
/* oklch */ color: oklch(41.2% 0.107 279.3);
Tailwind
colors: {
  custom: {
    50: '#7a76a7',
    500: '#404283',
    950: '#000000',
  },
}
SCSS
$custom: #404283;
$custom-light: #7a76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#404283",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 238.209,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.10663,
    "h": 279.3
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#404283
secondary
#AAA975
accent
#C75DCA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #404283

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

Preview Lab → · Contrast checker → · Palette generator →

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