#282D9E#282D9E

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

Color values

HEX#282D9E
RGBrgb(40, 45, 158)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(74.7%, 71.5%, 0%, 38%)
CIE-LABlab(26.14, 37.31, -61.47)
CIE-LCHlch(26.14, 71.91, 301.25°)
OKLaboklab(37.88% 0.0068 -0.1778)
OKLCHoklch(37.88% 0.178 272.2)
XYZxyz(7.9829, 4.7957, 32.8461)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D9E #9E9928
analogous
#28689E #282D9E #5E289E
triadic
#282D9E #9E282D #2D9E28
tetradic
#282D9E #9E2868 #9E9928 #289E5E
square
#282D9E #9E2868 #9E9928 #289E5E
split-complementary
#282D9E #9E5E28 #689E28
monochromatic
#0F113C #1C1F6D #282D9E #373DCC #686CD9

Accessibility & contrast

On white

10.72
#282D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#282D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D9E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D9E#FFFFFF#000000##FFFFFF
##282D9E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282d9e;
/* rgb */ color: rgb(40, 45, 158);
/* oklch */ color: oklch(37.9% 0.178 272.2);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#282d9e',
    950: '#000000',
  },
}
SCSS
$custom: #282d9e;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282d9e",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 237.458,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37884,
    "c": 0.17798,
    "h": 272.2
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#282D9E
secondary
#BFBB63
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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