#282BAD#282BAD

#282BAD is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.199 H 271.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#282BAD
RGBrgb(40, 43, 173)
HSLhsl(239, 62%, 42%)
HSVhsv(239, 77%, 68%)
CMYKcmyk(76.9%, 75.1%, 0%, 32.2%)
CIE-LABlab(27.28, 43.66, -68.66)
CIE-LCHlch(27.28, 81.37, 302.45°)
OKLaboklab(39.16% 0.0054 -0.1988)
OKLCHoklch(39.16% 0.199 271.6)
XYZxyz(9.2792, 5.1950, 40.0408)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BAD #ADAA28
analogous
#286DAD #282BAD #6828AD
triadic
#282BAD #AD282B #2BAD28
tetradic
#282BAD #AD286D #ADAA28 #28AD68
square
#282BAD #AD286D #ADAA28 #28AD68
split-complementary
#282BAD #AD6828 #6DAD28
monochromatic
#11124A #1D1F7B #282BAD #3F43D3 #7174DE

Accessibility & contrast

On white

10.30
#282BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#282BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BAD
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BAD#FFFFFF#000000##FFFFFF
##282BAD1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282bad;
/* rgb */ color: rgb(40, 43, 173);
/* oklch */ color: oklch(39.2% 0.199 271.6);
Tailwind
colors: {
  custom: {
    50: '#7966c7',
    500: '#282bad',
    950: '#000000',
  },
}
SCSS
$custom: #282bad;
$custom-light: #7966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#282bad",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 238.647,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.19885,
    "h": 271.6
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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