#282E9A#282E9A

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

Color values

HEX#282E9A
RGBrgb(40, 46, 154)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 60%)
CMYKcmyk(74%, 70.1%, 0%, 39.6%)
CIE-LABlab(25.97, 35.27, -59.31)
CIE-LCHlch(25.97, 69.00, 300.74°)
OKLaboklab(37.64% 0.0068 -0.1715)
OKLCHoklch(37.64% 0.172 272.3)
XYZxyz(7.6828, 4.7374, 31.0751)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E9A #9A9428
analogous
#28679A #282E9A #5B289A
triadic
#282E9A #9A282E #2E9A28
tetradic
#282E9A #9A2867 #9A9428 #289A5B
square
#282E9A #9A2867 #9A9428 #289A5B
split-complementary
#282E9A #9A5B28 #679A28
monochromatic
#0F1139 #1B1F69 #282E9A #353DCA #656BD7

Accessibility & contrast

On white

10.78
#282E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#282E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E9A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E9A#FFFFFF#000000##FFFFFF
##282E9A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282e9a;
/* rgb */ color: rgb(40, 46, 154);
/* oklch */ color: oklch(37.6% 0.172 272.3);
Tailwind
colors: {
  custom: {
    50: '#7467b9',
    500: '#282e9a',
    950: '#000000',
  },
}
SCSS
$custom: #282e9a;
$custom-light: #7467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#282e9a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 236.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.17168,
    "h": 272.3
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#282E9A
secondary
#BDB861
accent
#DA46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #282E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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