#282A9E#282A9E

#282A9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.181 H 272.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#282A9E
RGBrgb(40, 42, 158)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(74.7%, 73.4%, 0%, 38%)
CIE-LABlab(25.49, 39.13, -62.55)
CIE-LCHlch(25.49, 73.78, 302.03°)
OKLaboklab(37.41% 0.0084 -0.181)
OKLCHoklch(37.41% 0.181 272.7)
XYZxyz(7.8725, 4.5749, 32.8093)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A9E #9E9C28
analogous
#28659E #282A9E #61289E
triadic
#282A9E #9E282A #2A9E28
tetradic
#282A9E #9E2865 #9E9C28 #289E61
square
#282A9E #9E2865 #9E9C28 #289E61
split-complementary
#282A9E #9E6128 #659E28
monochromatic
#0F103C #1C1D6D #282A9E #3739CC #686AD9

Accessibility & contrast

On white

10.96
#282A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#282A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A9E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A9E#FFFFFF#000000##FFFFFF
##282A9E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282a9e;
/* rgb */ color: rgb(40, 42, 158);
/* oklch */ color: oklch(37.4% 0.181 272.7);
Tailwind
colors: {
  custom: {
    50: '#7565bc',
    500: '#282a9e',
    950: '#000000',
  },
}
SCSS
$custom: #282a9e;
$custom-light: #7565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282a9e",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 238.983,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.1812,
    "h": 272.7
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#282A9E
secondary
#BFBD63
accent
#E045E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #282A9E

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

Preview Lab → · Contrast checker → · Palette generator →

#282A9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva