#282EA1#282EA1

#282EA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.181 H 271.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#282EA1
RGBrgb(40, 46, 161)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 63%)
CMYKcmyk(75.2%, 71.4%, 0%, 36.9%)
CIE-LABlab(26.67, 37.75, -62.43)
CIE-LCHlch(26.67, 72.96, 301.16°)
OKLaboklab(38.35% 0.0059 -0.1806)
OKLCHoklch(38.35% 0.181 271.9)
XYZxyz(8.2829, 4.9774, 34.2355)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EA1 #A19B28
analogous
#286BA1 #282EA1 #5F28A1
triadic
#282EA1 #A1282E #2EA128
tetradic
#282EA1 #A1286B #A19B28 #28A15F
square
#282EA1 #A1286B #A19B28 #28A15F
split-complementary
#282EA1 #A15F28 #6BA128
monochromatic
#10123F #1C2070 #282EA1 #3940CE #6A6FDA

Accessibility & contrast

On white

10.52
#282EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#282EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EA1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EA1#FFFFFF#000000##FFFFFF
##282EA11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ea1;
/* rgb */ color: rgb(40, 46, 161);
/* oklch */ color: oklch(38.4% 0.181 271.9);
Tailwind
colors: {
  custom: {
    50: '#7667be',
    500: '#282ea1',
    950: '#000000',
  },
}
SCSS
$custom: #282ea1;
$custom-light: #7667be;
$custom-dark: #000000;
JSON
{
  "hex": "#282ea1",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 237.025,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.18075,
    "h": 271.9
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#282EA1
secondary
#C0BC65
accent
#DB44E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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