#282579#282579

#282579 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.138 H 277.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#282579
RGBrgb(40, 37, 121)
HSLhsl(242, 53%, 31%)
HSVhsv(242, 69%, 47%)
CMYKcmyk(66.9%, 69.4%, 0%, 52.5%)
CIE-LABlab(20.65, 29.20, -47.44)
CIE-LCHlch(20.65, 55.71, 301.61°)
OKLaboklab(32.82% 0.0173 -0.1368)
OKLCHoklch(32.82% 0.138 277.2)
XYZxyz(4.9867, 3.1543, 18.4315)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282579 #767925
analogous
#254C79 #282579 #522579
triadic
#282579 #792825 #257928
tetradic
#282579 #79254C #767925 #257952
square
#282579 #79254C #767925 #257952
split-complementary
#282579 #795225 #4C7925
monochromatic
#09081B #19174A #282579 #3733A8 #544FC9

Accessibility & contrast

On white

12.88
#282579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282579
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282579#FFFFFF#000000##FFFFFF
##2825791.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282579;
/* rgb */ color: rgb(40, 37, 121);
/* oklch */ color: oklch(32.8% 0.138 277.2);
Tailwind
colors: {
  custom: {
    50: '#6d60a1',
    500: '#282579',
    950: '#000000',
  },
}
SCSS
$custom: #282579;
$custom-light: #6d60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#282579",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 242.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32817,
    "c": 0.13793,
    "h": 277.2
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#282579
secondary
#A8AB4E
accent
#DD4BD7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #282579

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

Preview Lab → · Contrast checker → · Palette generator →

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