#282EA8#282EA8

#282EA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.190 H 271.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#282EA8
RGBrgb(40, 46, 168)
HSLhsl(237, 62%, 41%)
HSVhsv(237, 76%, 66%)
CMYKcmyk(76.2%, 72.6%, 0%, 34.1%)
CIE-LABlab(27.38, 40.20, -65.49)
CIE-LCHlch(27.38, 76.84, 301.54°)
OKLaboklab(39.08% 0.0049 -0.1896)
OKLCHoklch(39.08% 0.19 271.5)
XYZxyz(8.9176, 5.2313, 37.5780)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EA8 #A8A228
analogous
#286EA8 #282EA8 #6228A8
triadic
#282EA8 #A8282E #2EA828
tetradic
#282EA8 #A8286E #A8A228 #28A862
square
#282EA8 #A8286E #A8A228 #28A862
split-complementary
#282EA8 #A86228 #6EA828
monochromatic
#101345 #1C2077 #282EA8 #3D43D1 #6E73DC

Accessibility & contrast

On white

10.26
#282EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282EA8
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EA8#FFFFFF#000000##FFFFFF
##282EA81.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #282ea8;
/* rgb */ color: rgb(40, 46, 168);
/* oklch */ color: oklch(39.1% 0.190 271.5);
Tailwind
colors: {
  custom: {
    50: '#7768c3',
    500: '#282ea8',
    950: '#000000',
  },
}
SCSS
$custom: #282ea8;
$custom-light: #7768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#282ea8",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 237.188,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39079,
    "c": 0.18962,
    "h": 271.5
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#282EA8
secondary
#C3BF69
accent
#DD43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #282EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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