#282EA3#282EA3

#282EA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.183 H 271.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#282EA3
RGBrgb(40, 46, 163)
HSLhsl(237, 61%, 40%)
HSVhsv(237, 75%, 64%)
CMYKcmyk(75.5%, 71.8%, 0%, 36.1%)
CIE-LABlab(26.87, 38.45, -63.31)
CIE-LCHlch(26.87, 74.07, 301.27°)
OKLaboklab(38.56% 0.0056 -0.1832)
OKLCHoklch(38.56% 0.183 271.8)
XYZxyz(8.4607, 5.0486, 35.1718)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EA3 #A39D28
analogous
#286CA3 #282EA3 #5F28A3
triadic
#282EA3 #A3282E #2EA328
tetradic
#282EA3 #A3286C #A39D28 #28A35F
square
#282EA3 #A3286C #A39D28 #28A35F
split-complementary
#282EA3 #A35F28 #6CA328
monochromatic
#101241 #1C2072 #282EA3 #3A41CF #6B70DB

Accessibility & contrast

On white

10.45
#282EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#282EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EA3
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EA3#FFFFFF#000000##FFFFFF
##282EA31.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #282ea3;
/* rgb */ color: rgb(40, 46, 163);
/* oklch */ color: oklch(38.6% 0.183 271.8);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#282ea3',
    950: '#000000',
  },
}
SCSS
$custom: #282ea3;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#282ea3",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 237.073,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38559,
    "c": 0.1833,
    "h": 271.8
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#282EA3
secondary
#C1BD66
accent
#DC44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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