#282494#282494

#282494 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.175 H 274.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#282494
RGBrgb(40, 36, 148)
HSLhsl(242, 61%, 36%)
HSVhsv(242, 76%, 58%)
CMYKcmyk(73%, 75.7%, 0%, 42%)
CIE-LABlab(23.17, 39.23, -60.24)
CIE-LCHlch(23.17, 71.89, 303.07°)
OKLaboklab(35.45% 0.0134 -0.1742)
OKLCHoklch(35.45% 0.175 274.4)
XYZxyz(6.8495, 3.8503, 28.3934)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282494 #909424
analogous
#245894 #282494 #602494
triadic
#282494 #942824 #249428
tetradic
#282494 #942458 #909424 #249460
square
#282494 #942458 #909424 #249460
split-complementary
#282494 #946024 #589424
monochromatic
#0D0C32 #1B1863 #282494 #3530C5 #605BD7

Accessibility & contrast

On white

11.86
#282494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#282494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282494
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282494#FFFFFF#000000##FFFFFF
##2824941.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282494;
/* rgb */ color: rgb(40, 36, 148);
/* oklch */ color: oklch(35.4% 0.175 274.4);
Tailwind
colors: {
  custom: {
    50: '#7460b5',
    500: '#282494',
    950: '#000000',
  },
}
SCSS
$custom: #282494;
$custom-light: #7460b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282494",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 242.143,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.17474,
    "h": 274.4
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#282494
secondary
#B8BC58
accent
#E444DE
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282494

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

Preview Lab → · Contrast checker → · Palette generator →

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