#282DA6#282DA6

#282DA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.188 H 271.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#282DA6
RGBrgb(40, 45, 166)
HSLhsl(238, 61%, 40%)
HSVhsv(238, 76%, 65%)
CMYKcmyk(75.9%, 72.9%, 0%, 34.9%)
CIE-LABlab(26.96, 40.10, -64.98)
CIE-LCHlch(26.96, 76.36, 301.68°)
OKLaboklab(38.71% 0.0057 -0.1881)
OKLCHoklch(38.71% 0.188 271.7)
XYZxyz(8.6941, 5.0801, 36.5914)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DA6 #A6A128
analogous
#286CA6 #282DA6 #6228A6
triadic
#282DA6 #A6282D #2DA628
tetradic
#282DA6 #A6286C #A6A128 #28A662
square
#282DA6 #A6286C #A6A128 #28A662
split-complementary
#282DA6 #A66228 #6CA628
monochromatic
#101243 #1C2075 #282DA6 #3B41D0 #6D71DC

Accessibility & contrast

On white

10.42
#282DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#282DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DA6
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DA6#FFFFFF#000000##FFFFFF
##282DA61.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282da6;
/* rgb */ color: rgb(40, 45, 166);
/* oklch */ color: oklch(38.7% 0.188 271.7);
Tailwind
colors: {
  custom: {
    50: '#7767c2',
    500: '#282da6',
    950: '#000000',
  },
}
SCSS
$custom: #282da6;
$custom-light: #7767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282da6",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 237.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38715,
    "c": 0.18816,
    "h": 271.7
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#282DA6
secondary
#C2BF67
accent
#DE44E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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