#282DAE#282DAE

#282DAE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.198 H 271.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#282DAE
RGBrgb(40, 45, 174)
HSLhsl(238, 63%, 42%)
HSVhsv(238, 77%, 68%)
CMYKcmyk(77%, 74.1%, 0%, 31.8%)
CIE-LABlab(27.80, 42.85, -68.41)
CIE-LCHlch(27.80, 80.72, 302.06°)
OKLaboklab(39.56% 0.0044 -0.1981)
OKLCHoklch(39.56% 0.198 271.3)
XYZxyz(9.4509, 5.3829, 40.5771)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DAE #AEA928
analogous
#2870AE #282DAE #6628AE
triadic
#282DAE #AE282D #2DAE28
tetradic
#282DAE #AE2870 #AEA928 #28AE66
square
#282DAE #AE2870 #AEA928 #28AE66
split-complementary
#282DAE #AE6628 #70AE28
monochromatic
#11134A #1D207C #282DAE #4046D3 #7276DF

Accessibility & contrast

On white

10.11
#282DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#282DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282DAE
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DAE#FFFFFF#000000##FFFFFF
##282DAE1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282dae;
/* rgb */ color: rgb(40, 45, 174);
/* oklch */ color: oklch(39.6% 0.198 271.3);
Tailwind
colors: {
  custom: {
    50: '#7967c7',
    500: '#282dae',
    950: '#000000',
  },
}
SCSS
$custom: #282dae;
$custom-light: #7967c7;
$custom-dark: #000000;
JSON
{
  "hex": "#282dae",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 237.761,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39562,
    "c": 0.19811,
    "h": 271.3
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#282DAE
secondary
#C6C26C
accent
#E042E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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