#282AA5#282AA5

#282AA5 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.190 H 272.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#282AA5
RGBrgb(40, 42, 165)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 76%, 65%)
CMYKcmyk(75.8%, 74.5%, 0%, 35.3%)
CIE-LABlab(26.22, 41.53, -65.59)
CIE-LCHlch(26.22, 77.63, 302.34°)
OKLaboklab(38.16% 0.0073 -0.1898)
OKLCHoklch(38.16% 0.19 272.2)
XYZxyz(8.4923, 4.8228, 36.0733)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA5 #A5A328
analogous
#2868A5 #282AA5 #6428A5
triadic
#282AA5 #A5282A #2AA528
tetradic
#282AA5 #A52868 #A5A328 #28A564
square
#282AA5 #A52868 #A5A328 #28A564
split-complementary
#282AA5 #A56428 #68A528
monochromatic
#101142 #1C1D74 #282AA5 #3B3DCF #6C6EDB

Accessibility & contrast

On white

10.69
#282AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#282AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AA5
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AA5#FFFFFF#000000##FFFFFF
##282AA51.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282aa5;
/* rgb */ color: rgb(40, 42, 165);
/* oklch */ color: oklch(38.2% 0.190 272.2);
Tailwind
colors: {
  custom: {
    50: '#7765c1',
    500: '#282aa5',
    950: '#000000',
  },
}
SCSS
$custom: #282aa5;
$custom-light: #7765c1;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa5",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 239.04,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.18998,
    "h": 272.2
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#282AA5
secondary
#C2C067
accent
#E244E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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