#282E89#282E89

#282E89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.149 H 273.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#282E89
RGBrgb(40, 46, 137)
HSLhsl(236, 55%, 35%)
HSVhsv(236, 71%, 54%)
CMYKcmyk(70.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.36, 29.11, -51.47)
CIE-LCHlch(24.36, 59.13, 299.49°)
OKLaboklab(35.97% 0.0085 -0.1486)
OKLCHoklch(35.97% 0.149 273.3)
XYZxyz(6.3659, 4.2106, 24.1393)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E89 #898328
analogous
#285E89 #282E89 #532889
triadic
#282E89 #89282E #2E8928
tetradic
#282E89 #89285E #898328 #288953
square
#282E89 #89285E #898328 #288953
split-complementary
#282E89 #895328 #5E8928
monochromatic
#0C0E2A #1A1E5A #282E89 #363EB8 #5C63CF

Accessibility & contrast

On white

11.40
#282E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E89
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E89#FFFFFF#000000##FFFFFF
##282E891.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282e89;
/* rgb */ color: rgb(40, 46, 137);
/* oklch */ color: oklch(36.0% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#7067ac',
    500: '#282e89',
    950: '#000000',
  },
}
SCSS
$custom: #282e89;
$custom-light: #7067ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282e89",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 236.289,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.14884,
    "h": 273.3
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#282E89
secondary
#B5AF58
accent
#D54ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282E89

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

Preview Lab → · Contrast checker → · Palette generator →

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