#282AA0#282AA0

#282AA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.184 H 272.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#282AA0
RGBrgb(40, 42, 160)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 63%)
CMYKcmyk(75%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.70, 39.82, -63.43)
CIE-LCHlch(25.70, 74.89, 302.12°)
OKLaboklab(37.63% 0.0081 -0.1835)
OKLCHoklch(37.63% 0.184 272.5)
XYZxyz(8.0461, 4.6443, 33.7233)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA0 #A09E28
analogous
#2866A0 #282AA0 #6228A0
triadic
#282AA0 #A0282A #2AA028
tetradic
#282AA0 #A02866 #A09E28 #28A062
square
#282AA0 #A02866 #A09E28 #28A062
split-complementary
#282AA0 #A06228 #66A028
monochromatic
#10103E #1C1D6F #282AA0 #383ACD #696BD9

Accessibility & contrast

On white

10.89
#282AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#282AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AA0
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AA0#FFFFFF#000000##FFFFFF
##282AA01.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282aa0;
/* rgb */ color: rgb(40, 42, 160);
/* oklch */ color: oklch(37.6% 0.184 272.5);
Tailwind
colors: {
  custom: {
    50: '#7665bd',
    500: '#282aa0',
    950: '#000000',
  },
}
SCSS
$custom: #282aa0;
$custom-light: #7665bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa0",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 239,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.18372,
    "h": 272.5
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#282AA0
secondary
#C0BE64
accent
#E145E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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