#282AB0#282AB0

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

Color values

HEX#282AB0
RGBrgb(40, 42, 176)
HSLhsl(239, 63%, 42%)
HSVhsv(239, 77%, 69%)
CMYKcmyk(77.3%, 76.1%, 0%, 31%)
CIE-LABlab(27.41, 45.23, -70.25)
CIE-LCHlch(27.41, 83.55, 302.78°)
OKLaboklab(39.35% 0.0053 -0.2034)
OKLCHoklch(39.35% 0.203 271.5)
XYZxyz(9.5369, 5.2406, 41.5748)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282AB0 #B0AE28
analogous
#286EB0 #282AB0 #6A28B0
triadic
#282AB0 #B0282A #2AB028
tetradic
#282AB0 #B0286E #B0AE28 #28B06A
square
#282AB0 #B0286E #B0AE28 #28B06A
split-complementary
#282AB0 #B06A28 #6EB028
monochromatic
#11124C #1D1E7E #282AB0 #4143D4 #7375DF

Accessibility & contrast

On white

10.25
#282AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282AB0
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282AB0#FFFFFF#000000##FFFFFF
##282AB01.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282ab0;
/* rgb */ color: rgb(40, 42, 176);
/* oklch */ color: oklch(39.3% 0.203 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a66c9',
    500: '#282ab0',
    950: '#000000',
  },
}
SCSS
$custom: #282ab0;
$custom-light: #7a66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#282ab0",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 239.118,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.20346,
    "h": 271.5
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#282AB0
secondary
#C6C56D
accent
#E442E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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