#282E99#282E99

#282E99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.170 H 272.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#282E99
RGBrgb(40, 46, 153)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 60%)
CMYKcmyk(73.9%, 69.9%, 0%, 40%)
CIE-LABlab(25.87, 34.91, -58.86)
CIE-LCHlch(25.87, 68.44, 300.67°)
OKLaboklab(37.54% 0.0069 -0.1702)
OKLCHoklch(37.54% 0.17 272.3)
XYZxyz(7.5999, 4.7042, 30.6383)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E99 #999328
analogous
#286699 #282E99 #5A2899
triadic
#282E99 #99282E #2E9928
tetradic
#282E99 #992866 #999328 #28995A
square
#282E99 #992866 #999328 #28995A
split-complementary
#282E99 #995A28 #669928
monochromatic
#0F1138 #1B1F68 #282E99 #353DCA #656BD7

Accessibility & contrast

On white

10.82
#282E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#282E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E99
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E99#FFFFFF#000000##FFFFFF
##282E991.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282e99;
/* rgb */ color: rgb(40, 46, 153);
/* oklch */ color: oklch(37.5% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#7467b8',
    500: '#282e99',
    950: '#000000',
  },
}
SCSS
$custom: #282e99;
$custom-light: #7467b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282e99",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 236.814,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.17037,
    "h": 272.3
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#282E99
secondary
#BDB860
accent
#D946E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E99

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

Preview Lab → · Contrast checker → · Palette generator →

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