#282EB4#282EB4

#282EB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.204 H 270.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#282EB4
RGBrgb(40, 46, 180)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 71%)
CMYKcmyk(77.8%, 74.4%, 0%, 29.4%)
CIE-LABlab(28.64, 44.31, -70.60)
CIE-LCHlch(28.64, 83.36, 302.11°)
OKLaboklab(40.35% 0.003 -0.2044)
OKLCHoklch(40.35% 0.204 270.8)
XYZxyz(10.0875, 5.6993, 43.7396)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EB4 #B4AE28
analogous
#2874B4 #282EB4 #6828B4
triadic
#282EB4 #B4282E #2EB428
tetradic
#282EB4 #B42874 #B4AE28 #28B468
square
#282EB4 #B42874 #B4AE28 #28B468
split-complementary
#282EB4 #B46828 #74B428
monochromatic
#121450 #1D2182 #282EB4 #444AD5 #767AE1

Accessibility & contrast

On white

9.81
#282EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#282EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EB4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EB4#FFFFFF#000000##FFFFFF
##282EB41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #282eb4;
/* rgb */ color: rgb(40, 46, 180);
/* oklch */ color: oklch(40.4% 0.204 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a68cc',
    500: '#282eb4',
    950: '#000000',
  },
}
SCSS
$custom: #282eb4;
$custom-light: #7a68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#282eb4",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 237.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.20447,
    "h": 270.8
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#282EB4
secondary
#C8C470
accent
#E041E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #282EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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