#282E9B#282E9B

#282E9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.173 H 272.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#282E9B
RGBrgb(40, 46, 155)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 74%, 61%)
CMYKcmyk(74.2%, 70.3%, 0%, 39.2%)
CIE-LABlab(26.07, 35.63, -59.76)
CIE-LCHlch(26.07, 69.57, 300.80°)
OKLaboklab(37.74% 0.0067 -0.1729)
OKLCHoklch(37.74% 0.173 272.2)
XYZxyz(7.7665, 4.7709, 31.5156)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E9B #9B9528
analogous
#28679B #282E9B #5C289B
triadic
#282E9B #9B282E #2E9B28
tetradic
#282E9B #9B2867 #9B9528 #289B5C
square
#282E9B #9B2867 #9B9528 #289B5C
split-complementary
#282E9B #9B5C28 #679B28
monochromatic
#0F113A #1B206A #282E9B #353DCB #666CD7

Accessibility & contrast

On white

10.74
#282E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E9B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E9B#FFFFFF#000000##FFFFFF
##282E9B1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282e9b;
/* rgb */ color: rgb(40, 46, 155);
/* oklch */ color: oklch(37.7% 0.173 272.2);
Tailwind
colors: {
  custom: {
    50: '#7467ba',
    500: '#282e9b',
    950: '#000000',
  },
}
SCSS
$custom: #282e9b;
$custom-light: #7467ba;
$custom-dark: #000000;
JSON
{
  "hex": "#282e9b",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 236.87,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.17299,
    "h": 272.2
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#282E9B
secondary
#BDB961
accent
#DA46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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