#284491#284491

#284491 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.132 H 265.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#284491
RGBrgb(40, 68, 145)
HSLhsl(224, 57%, 36%)
HSVhsv(224, 72%, 57%)
CMYKcmyk(72.4%, 53.1%, 0%, 43.1%)
CIE-LABlab(30.95, 17.23, -45.69)
CIE-LCHlch(30.95, 48.83, 290.66°)
OKLaboklab(41.09% -0.0097 -0.1313)
OKLCHoklch(41.09% 0.132 265.8)
XYZxyz(8.0512, 6.6289, 27.6378)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284491 #917528
analogous
#287991 #284491 #412891
triadic
#284491 #912844 #449128
tetradic
#284491 #912879 #917528 #289141
square
#284491 #912879 #917528 #289141
split-complementary
#284491 #914128 #799128
monochromatic
#0E1731 #1B2E61 #284491 #355AC1 #607FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284491#FFFFFF#000000##FFFFFF
##2844911.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)
#124E94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284491;
/* rgb */ color: rgb(40, 68, 145);
/* oklch */ color: oklch(41.1% 0.132 265.8);
Tailwind
colors: {
  custom: {
    50: '#7077b2',
    500: '#284491',
    950: '#000000',
  },
}
SCSS
$custom: #284491;
$custom-light: #7077b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284491",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 145
  },
  "hsl": {
    "h": 224,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.13171,
    "h": 265.8
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#284491
secondary
#B9A05C
accent
#B748E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284491

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

Preview Lab → · Contrast checker → · Palette generator →

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