#282EA6#282EA6

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

Color values

HEX#282EA6
RGBrgb(40, 46, 166)
HSLhsl(237, 61%, 40%)
HSVhsv(237, 76%, 65%)
CMYKcmyk(75.9%, 72.3%, 0%, 34.9%)
CIE-LABlab(27.18, 39.50, -64.62)
CIE-LCHlch(27.18, 75.74, 301.44°)
OKLaboklab(38.87% 0.0052 -0.187)
OKLCHoklch(38.87% 0.187 271.6)
XYZxyz(8.7327, 5.1574, 36.6042)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EA6 #A6A028
analogous
#286DA6 #282EA6 #6128A6
triadic
#282EA6 #A6282E #2EA628
tetradic
#282EA6 #A6286D #A6A028 #28A661
square
#282EA6 #A6286D #A6A028 #28A661
split-complementary
#282EA6 #A66128 #6DA628
monochromatic
#101343 #1C2075 #282EA6 #3B42D0 #6D72DC

Accessibility & contrast

On white

10.34
#282EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#282EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EA6
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EA6#FFFFFF#000000##FFFFFF
##282EA61.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282ea6;
/* rgb */ color: rgb(40, 46, 166);
/* oklch */ color: oklch(38.9% 0.187 271.6);
Tailwind
colors: {
  custom: {
    50: '#7768c2',
    500: '#282ea6',
    950: '#000000',
  },
}
SCSS
$custom: #282ea6;
$custom-light: #7768c2;
$custom-dark: #000000;
JSON
{
  "hex": "#282ea6",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 237.143,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3887,
    "c": 0.1871,
    "h": 271.6
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#282EA6
secondary
#C2BE67
accent
#DD44E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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