#282EAB#282EAB

#282EAB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.193 H 271.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#282EAB
RGBrgb(40, 46, 171)
HSLhsl(237, 62%, 41%)
HSVhsv(237, 77%, 67%)
CMYKcmyk(76.6%, 73.1%, 0%, 32.9%)
CIE-LABlab(27.69, 41.24, -66.78)
CIE-LCHlch(27.69, 78.49, 301.70°)
OKLaboklab(39.39% 0.0044 -0.1933)
OKLCHoklch(39.39% 0.193 271.3)
XYZxyz(9.2003, 5.3444, 39.0669)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EAB #ABA528
analogous
#2870AB #282EAB #6428AB
triadic
#282EAB #AB282E #2EAB28
tetradic
#282EAB #AB2870 #ABA528 #28AB64
square
#282EAB #AB2870 #ABA528 #28AB64
split-complementary
#282EAB #AB6428 #70AB28
monochromatic
#111348 #1C2179 #282EAB #3E45D2 #7075DE

Accessibility & contrast

On white

10.15
#282EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#282EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EAB
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EAB#FFFFFF#000000##FFFFFF
##282EAB1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282eab;
/* rgb */ color: rgb(40, 46, 171);
/* oklch */ color: oklch(39.4% 0.193 271.3);
Tailwind
colors: {
  custom: {
    50: '#7868c5',
    500: '#282eab',
    950: '#000000',
  },
}
SCSS
$custom: #282eab;
$custom-light: #7868c5;
$custom-dark: #000000;
JSON
{
  "hex": "#282eab",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 237.252,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.19338,
    "h": 271.3
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#282EAB
secondary
#C4C06A
accent
#DE43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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