#282AA6#282AA6

#282AA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.191 H 272.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#282AA6
RGBrgb(40, 42, 166)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 76%, 65%)
CMYKcmyk(75.9%, 74.7%, 0%, 34.9%)
CIE-LABlab(26.33, 41.87, -66.02)
CIE-LCHlch(26.33, 78.18, 302.38°)
OKLaboklab(38.27% 0.0071 -0.1911)
OKLCHoklch(38.27% 0.191 272.1)
XYZxyz(8.5837, 4.8593, 36.5546)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AA6 #A6A428
analogous
#2869A6 #282AA6 #6528A6
triadic
#282AA6 #A6282A #2AA628
tetradic
#282AA6 #A62869 #A6A428 #28A665
square
#282AA6 #A62869 #A6A428 #28A665
split-complementary
#282AA6 #A66528 #69A628
monochromatic
#101143 #1C1E75 #282AA6 #3B3ED0 #6D6EDC

Accessibility & contrast

On white

10.65
#282AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#282AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282AA6
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AA6#FFFFFF#000000##FFFFFF
##282AA61.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282aa6;
/* rgb */ color: rgb(40, 42, 166);
/* oklch */ color: oklch(38.3% 0.191 272.1);
Tailwind
colors: {
  custom: {
    50: '#7765c2',
    500: '#282aa6',
    950: '#000000',
  },
}
SCSS
$custom: #282aa6;
$custom-light: #7765c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282aa6",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 239.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.19122,
    "h": 272.1
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#282AA6
secondary
#C2C167
accent
#E244E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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