#282AA9#282AA9

#282AA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.195 H 271.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#282AA9
RGBrgb(40, 42, 169)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 76%, 66%)
CMYKcmyk(76.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.65, 42.89, -67.30)
CIE-LCHlch(26.65, 79.80, 302.51°)
OKLaboklab(38.59% 0.0066 -0.1948)
OKLCHoklch(38.59% 0.195 271.9)
XYZxyz(8.8621, 4.9707, 38.0208)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA9 #A9A728
analogous
#286AA9 #282AA9 #6628A9
triadic
#282AA9 #A9282A #2AA928
tetradic
#282AA9 #A9286A #A9A728 #28A966
square
#282AA9 #A9286A #A9A728 #28A966
split-complementary
#282AA9 #A96628 #6AA928
monochromatic
#111146 #1C1E78 #282AA9 #3D3FD1 #6F70DD

Accessibility & contrast

On white

10.53
#282AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#282AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AA9
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AA9#FFFFFF#000000##FFFFFF
##282AA91.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282aa9;
/* rgb */ color: rgb(40, 42, 169);
/* oklch */ color: oklch(38.6% 0.195 271.9);
Tailwind
colors: {
  custom: {
    50: '#7865c4',
    500: '#282aa9',
    950: '#000000',
  },
}
SCSS
$custom: #282aa9;
$custom-light: #7865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa9",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 239.07,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38588,
    "c": 0.19493,
    "h": 271.9
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#282AA9
secondary
#C4C269
accent
#E243E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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