#284592#284592

#284592 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.132 H 265.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#284592
RGBrgb(40, 69, 146)
HSLhsl(224, 57%, 36%)
HSVhsv(224, 73%, 57%)
CMYKcmyk(72.6%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.30, 16.94, -45.72)
CIE-LCHlch(31.30, 48.76, 290.33°)
OKLaboklab(41.39% -0.0105 -0.1314)
OKLCHoklch(41.39% 0.132 265.4)
XYZxyz(8.1897, 6.7818, 28.0660)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284592 #927528
analogous
#287A92 #284592 #402892
triadic
#284592 #922845 #459228
tetradic
#284592 #92287A #927528 #289240
square
#284592 #92287A #927528 #289240
split-complementary
#284592 #924028 #7A9228
monochromatic
#0E1832 #1B2E62 #284592 #355CC2 #6180D4

Accessibility & contrast

On white

8.91
#284592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#284592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284592
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284592#FFFFFF#000000##FFFFFF
##2845921.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284592;
/* rgb */ color: rgb(40, 69, 146);
/* oklch */ color: oklch(41.4% 0.132 265.4);
Tailwind
colors: {
  custom: {
    50: '#7078b2',
    500: '#284592',
    950: '#000000',
  },
}
SCSS
$custom: #284592;
$custom-light: #7078b2;
$custom-dark: #000000;
JSON
{
  "hex": "#284592",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 223.585,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.13185,
    "h": 265.4
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#284592
secondary
#B9A05D
accent
#B648E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #284592

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

Preview Lab → · Contrast checker → · Palette generator →

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