#282AAB#282AAB

#282AAB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.197 H 271.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#282AAB
RGBrgb(40, 42, 171)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 77%, 67%)
CMYKcmyk(76.6%, 75.4%, 0%, 32.9%)
CIE-LABlab(26.87, 43.56, -68.15)
CIE-LCHlch(26.87, 80.88, 302.59°)
OKLaboklab(38.8% 0.0062 -0.1973)
OKLCHoklch(38.8% 0.197 271.8)
XYZxyz(9.0512, 5.0463, 39.0172)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AAB #ABA928
analogous
#286CAB #282AAB #6828AB
triadic
#282AAB #AB282A #2AAB28
tetradic
#282AAB #AB286C #ABA928 #28AB68
square
#282AAB #AB286C #ABA928 #28AB68
split-complementary
#282AAB #AB6828 #6CAB28
monochromatic
#111248 #1C1E79 #282AAB #3E41D2 #7072DE

Accessibility & contrast

On white

10.45
#282AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#282AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AAB
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AAB#FFFFFF#000000##FFFFFF
##282AAB1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282aab;
/* rgb */ color: rgb(40, 42, 171);
/* oklch */ color: oklch(38.8% 0.197 271.8);
Tailwind
colors: {
  custom: {
    50: '#7965c5',
    500: '#282aab',
    950: '#000000',
  },
}
SCSS
$custom: #282aab;
$custom-light: #7965c5;
$custom-dark: #000000;
JSON
{
  "hex": "#282aab",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 239.084,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.19738,
    "h": 271.8
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#282AAB
secondary
#C4C36A
accent
#E343E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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