#282E9E#282E9E

#282E9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.177 H 272.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#282E9E
RGBrgb(40, 46, 158)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(74.7%, 70.9%, 0%, 38%)
CIE-LABlab(26.37, 36.69, -61.10)
CIE-LCHlch(26.37, 71.27, 300.99°)
OKLaboklab(38.05% 0.0063 -0.1768)
OKLCHoklch(38.05% 0.177 272)
XYZxyz(8.0215, 4.8729, 32.8589)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E9E #9E9828
analogous
#28699E #282E9E #5D289E
triadic
#282E9E #9E282E #2E9E28
tetradic
#282E9E #9E2869 #9E9828 #289E5D
square
#282E9E #9E2869 #9E9828 #289E5D
split-complementary
#282E9E #9E5D28 #699E28
monochromatic
#0F123C #1C206D #282E9E #373ECC #686DD9

Accessibility & contrast

On white

10.63
#282E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E9E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E9E#FFFFFF#000000##FFFFFF
##282E9E1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282e9e;
/* rgb */ color: rgb(40, 46, 158);
/* oklch */ color: oklch(38.0% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#282e9e',
    950: '#000000',
  },
}
SCSS
$custom: #282e9e;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282e9e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 236.949,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.17688,
    "h": 272
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#282E9E
secondary
#BFBA63
accent
#DB45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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