#282CAD#282CAD

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

Color values

HEX#282CAD
RGBrgb(40, 44, 173)
HSLhsl(238, 62%, 42%)
HSVhsv(238, 77%, 68%)
CMYKcmyk(76.9%, 74.6%, 0%, 32.2%)
CIE-LABlab(27.49, 43.09, -68.33)
CIE-LCHlch(27.49, 80.78, 302.24°)
OKLaboklab(39.31% 0.005 -0.1978)
OKLCHoklch(39.31% 0.198 271.4)
XYZxyz(9.3160, 5.2686, 40.0530)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282CAD #ADA928
analogous
#286FAD #282CAD #6628AD
triadic
#282CAD #AD282C #2CAD28
tetradic
#282CAD #AD286F #ADA928 #28AD66
square
#282CAD #AD286F #ADA928 #28AD66
split-complementary
#282CAD #AD6628 #6FAD28
monochromatic
#11134A #1D1F7B #282CAD #3F44D3 #7174DE

Accessibility & contrast

On white

10.22
#282CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282CAD
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282CAD#FFFFFF#000000##FFFFFF
##282CAD1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282cad;
/* rgb */ color: rgb(40, 44, 173);
/* oklch */ color: oklch(39.3% 0.198 271.4);
Tailwind
colors: {
  custom: {
    50: '#7967c7',
    500: '#282cad',
    950: '#000000',
  },
}
SCSS
$custom: #282cad;
$custom-light: #7967c7;
$custom-dark: #000000;
JSON
{
  "hex": "#282cad",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 238.195,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.19787,
    "h": 271.4
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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