#282BAE#282BAE

#282BAE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.200 H 271.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#282BAE
RGBrgb(40, 43, 174)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 77%, 68%)
CMYKcmyk(77%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.39, 44.00, -69.08)
CIE-LCHlch(27.39, 81.91, 302.49°)
OKLaboklab(39.27% 0.0053 -0.2)
OKLCHoklch(39.27% 0.2 271.5)
XYZxyz(9.3763, 5.2338, 40.5523)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BAE #AEAB28
analogous
#286EAE #282BAE #6828AE
triadic
#282BAE #AE282B #2BAE28
tetradic
#282BAE #AE286E #AEAB28 #28AE68
square
#282BAE #AE286E #AEAB28 #28AE68
split-complementary
#282BAE #AE6828 #6EAE28
monochromatic
#11124A #1D1F7C #282BAE #4043D3 #7274DF

Accessibility & contrast

On white

10.26
#282BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#282BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BAE
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BAE#FFFFFF#000000##FFFFFF
##282BAE1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282bae;
/* rgb */ color: rgb(40, 43, 174);
/* oklch */ color: oklch(39.3% 0.200 271.5);
Tailwind
colors: {
  custom: {
    50: '#7966c7',
    500: '#282bae',
    950: '#000000',
  },
}
SCSS
$custom: #282bae;
$custom-light: #7966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#282bae",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 238.657,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.20008,
    "h": 271.5
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#282BAE
secondary
#C6C46C
accent
#E242E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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