#282AB3#282AB3

#282AB3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.207 H 271.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#282AB3
RGBrgb(40, 42, 179)
HSLhsl(239, 63%, 43%)
HSVhsv(239, 78%, 70%)
CMYKcmyk(77.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(27.74, 46.23, -71.50)
CIE-LCHlch(27.74, 85.14, 302.88°)
OKLaboklab(39.68% 0.0047 -0.207)
OKLCHoklch(39.68% 0.207 271.3)
XYZxyz(9.8370, 5.3606, 43.1554)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AB3 #B3B128
analogous
#286FB3 #282AB3 #6C28B3
triadic
#282AB3 #B3282A #2AB328
tetradic
#282AB3 #B3286F #B3B128 #28B36C
square
#282AB3 #B3286F #B3B128 #28B36C
split-complementary
#282AB3 #B36C28 #6FB328
monochromatic
#12134F #1D1E81 #282AB3 #4345D5 #7577E0

Accessibility & contrast

On white

10.13
#282AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#282AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AB3
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AB3#FFFFFF#000000##FFFFFF
##282AB31.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282ab3;
/* rgb */ color: rgb(40, 42, 179);
/* oklch */ color: oklch(39.7% 0.207 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b66cb',
    500: '#282ab3',
    950: '#000000',
  },
}
SCSS
$custom: #282ab3;
$custom-light: #7b66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#282ab3",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 239.137,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.20707,
    "h": 271.3
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#282AB3
secondary
#C8C66F
accent
#E441E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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