#405283#405283

#405283 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.084 H 267.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#405283
RGBrgb(64, 82, 131)
HSLhsl(224, 34%, 38%)
HSVhsv(224, 51%, 51%)
CMYKcmyk(51.1%, 37.4%, 0%, 48.6%)
CIE-LABlab(35.52, 7.71, -29.71)
CIE-LCHlch(35.52, 30.70, 284.55°)
OKLaboklab(44.68% -0.0034 -0.0838)
OKLCHoklch(44.68% 0.084 267.7)
XYZxyz(9.2270, 8.7627, 22.6735)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405283 #837140
analogous
#407383 #405283 #4F4083
triadic
#405283 #834052 #528340
tetradic
#405283 #834073 #837140 #40834F
square
#405283 #834073 #837140 #40834F
split-complementary
#405283 #834F40 #738340
monochromatic
#181F31 #2C385A #405283 #546CAC #7E8FC0

Accessibility & contrast

On white

7.63
#405283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#405283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405283
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405283#FFFFFF#000000##FFFFFF
##4052831.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5785
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#245C64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405283;
/* rgb */ color: rgb(64, 82, 131);
/* oklch */ color: oklch(44.7% 0.084 267.7);
Tailwind
colors: {
  custom: {
    50: '#7982a7',
    500: '#405283',
    950: '#000000',
  },
}
SCSS
$custom: #405283;
$custom-light: #7982a7;
$custom-dark: #000000;
JSON
{
  "hex": "#405283",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 223.881,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44682,
    "c": 0.08387,
    "h": 267.7
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#405283
secondary
#AA9C75
accent
#AD5DCA
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #405283

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

Preview Lab → · Contrast checker → · Palette generator →

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