#282994#282994

#282994 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.169 H 273.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#282994
RGBrgb(40, 41, 148)
HSLhsl(239, 57%, 37%)
HSVhsv(239, 73%, 58%)
CMYKcmyk(73%, 72.3%, 0%, 42%)
CIE-LABlab(24.24, 36.25, -58.48)
CIE-LCHlch(24.24, 68.80, 301.79°)
OKLaboklab(36.21% 0.0106 -0.1691)
OKLCHoklch(36.21% 0.169 273.6)
XYZxyz(7.0115, 4.1744, 28.4475)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282994 #949328
analogous
#285F94 #282994 #5D2894
triadic
#282994 #942829 #299428
tetradic
#282994 #94285F #949328 #28945D
square
#282994 #94285F #949328 #28945D
split-complementary
#282994 #945D28 #5F9428
monochromatic
#0E0E34 #1B1C64 #282994 #3536C4 #6263D5

Accessibility & contrast

On white

11.44
#282994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282994
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282994#FFFFFF#000000##FFFFFF
##2829941.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282994;
/* rgb */ color: rgb(40, 41, 148);
/* oklch */ color: oklch(36.2% 0.169 273.6);
Tailwind
colors: {
  custom: {
    50: '#7364b4',
    500: '#282994',
    950: '#000000',
  },
}
SCSS
$custom: #282994;
$custom-light: #7364b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282994",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 239.444,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36211,
    "c": 0.16944,
    "h": 273.6
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#282994
secondary
#BAB95E
accent
#DF47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282994

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

Preview Lab → · Contrast checker → · Palette generator →

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