#282EA0#282EA0

#282EA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.179 H 271.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#282EA0
RGBrgb(40, 46, 160)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 63%)
CMYKcmyk(75%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.57, 37.40, -61.99)
CIE-LCHlch(26.57, 72.40, 301.10°)
OKLaboklab(38.25% 0.006 -0.1794)
OKLCHoklch(38.25% 0.179 271.9)
XYZxyz(8.1951, 4.9423, 33.7730)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EA0 #A09A28
analogous
#286AA0 #282EA0 #5E28A0
triadic
#282EA0 #A0282E #2EA028
tetradic
#282EA0 #A0286A #A09A28 #28A05E
square
#282EA0 #A0286A #A09A28 #28A05E
split-complementary
#282EA0 #A05E28 #6AA028
monochromatic
#10123E #1C206F #282EA0 #383FCD #696FD9

Accessibility & contrast

On white

10.56
#282EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#282EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EA0
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EA0#FFFFFF#000000##FFFFFF
##282EA01.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ea0;
/* rgb */ color: rgb(40, 46, 160);
/* oklch */ color: oklch(38.3% 0.179 271.9);
Tailwind
colors: {
  custom: {
    50: '#7567bd',
    500: '#282ea0',
    950: '#000000',
  },
}
SCSS
$custom: #282ea0;
$custom-light: #7567bd;
$custom-dark: #000000;
JSON
{
  "hex": "#282ea0",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 237,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3825,
    "c": 0.17946,
    "h": 271.9
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#282EA0
secondary
#C0BB64
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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