#282DAB#282DAB

#282DAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.194 H 271.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#282DAB
RGBrgb(40, 45, 171)
HSLhsl(238, 62%, 41%)
HSVhsv(238, 77%, 67%)
CMYKcmyk(76.6%, 73.7%, 0%, 32.9%)
CIE-LABlab(27.48, 41.83, -67.13)
CIE-LCHlch(27.48, 79.10, 301.93°)
OKLaboklab(39.24% 0.0049 -0.1943)
OKLCHoklch(39.24% 0.194 271.4)
XYZxyz(9.1617, 5.2672, 39.0540)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282DAB #ABA628
analogous
#286FAB #282DAB #6528AB
triadic
#282DAB #AB282D #2DAB28
tetradic
#282DAB #AB286F #ABA628 #28AB65
square
#282DAB #AB286F #ABA628 #28AB65
split-complementary
#282DAB #AB6528 #6FAB28
monochromatic
#111348 #1C2079 #282DAB #3E44D2 #7074DE

Accessibility & contrast

On white

10.23
#282DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282DAB
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282DAB#FFFFFF#000000##FFFFFF
##282DAB1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282dab;
/* rgb */ color: rgb(40, 45, 171);
/* oklch */ color: oklch(39.2% 0.194 271.4);
Tailwind
colors: {
  custom: {
    50: '#7867c5',
    500: '#282dab',
    950: '#000000',
  },
}
SCSS
$custom: #282dab;
$custom-light: #7867c5;
$custom-dark: #000000;
JSON
{
  "hex": "#282dab",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 237.71,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.1944,
    "h": 271.4
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#282DAB
secondary
#C4C16A
accent
#DF43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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