#404299#404299

#404299 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.139 H 277.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#404299
RGBrgb(64, 66, 153)
HSLhsl(239, 41%, 43%)
HSVhsv(239, 58%, 60%)
CMYKcmyk(58.2%, 56.9%, 0%, 40%)
CIE-LABlab(32.45, 25.71, -48.07)
CIE-LCHlch(32.45, 54.51, 298.14°)
OKLaboklab(42.79% 0.0188 -0.1378)
OKLCHoklch(42.79% 0.139 277.8)
XYZxyz(9.8105, 7.2856, 31.0201)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404299 #999740
analogous
#406E99 #404299 #6B4099
triadic
#404299 #994042 #429940
tetradic
#404299 #99406E #999740 #40996B
square
#404299 #99406E #999740 #40996B
split-complementary
#404299 #996B40 #6E9940
monochromatic
#1C1D43 #2E2F6E #404299 #5C5EBB #8788CD

Accessibility & contrast

On white

8.55
#404299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#404299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404299
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404299#FFFFFF#000000##FFFFFF
##4042991.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#0B5667
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404299;
/* rgb */ color: rgb(64, 66, 153);
/* oklch */ color: oklch(42.8% 0.139 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d76b8',
    500: '#404299',
    950: '#000000',
  },
}
SCSS
$custom: #404299;
$custom-light: #7d76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#404299",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 238.652,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.13907,
    "h": 277.8
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#404299
secondary
#B7B67E
accent
#CE57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404299

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

Preview Lab → · Contrast checker → · Palette generator →

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