#282E9D#282E9D

#282E9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.176 H 272.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#282E9D
RGBrgb(40, 46, 157)
HSLhsl(237, 59%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(74.5%, 70.7%, 0%, 38.4%)
CIE-LABlab(26.27, 36.34, -60.65)
CIE-LCHlch(26.27, 70.71, 300.92°)
OKLaboklab(37.94% 0.0064 -0.1755)
OKLCHoklch(37.94% 0.176 272.1)
XYZxyz(7.9358, 4.8386, 32.4075)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E9D #9D9728
analogous
#28689D #282E9D #5C289D
triadic
#282E9D #9D282E #2E9D28
tetradic
#282E9D #9D2868 #9D9728 #289D5C
square
#282E9D #9D2868 #9D9728 #289D5C
split-complementary
#282E9D #9D5C28 #689D28
monochromatic
#0F113B #1C206C #282E9D #363ECC #676DD8

Accessibility & contrast

On white

10.67
#282E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#282E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E9D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E9D#FFFFFF#000000##FFFFFF
##282E9D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282e9d;
/* rgb */ color: rgb(40, 46, 157);
/* oklch */ color: oklch(37.9% 0.176 272.1);
Tailwind
colors: {
  custom: {
    50: '#7567bb',
    500: '#282e9d',
    950: '#000000',
  },
}
SCSS
$custom: #282e9d;
$custom-light: #7567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#282e9d",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 236.923,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37944,
    "c": 0.17559,
    "h": 272.1
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#282E9D
secondary
#BEBA62
accent
#DA45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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