#282D5E#282D5E

#282D5E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.086 H 276.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#282D5E
RGBrgb(40, 45, 94)
HSLhsl(234, 40%, 26%)
HSVhsv(234, 57%, 37%)
CMYKcmyk(57.4%, 52.1%, 0%, 63.1%)
CIE-LABlab(20.58, 13.79, -30.05)
CIE-LCHlch(20.58, 33.07, 294.65°)
OKLaboklab(32.07% 0.009 -0.0857)
OKLCHoklch(32.07% 0.086 276)
XYZxyz(3.8332, 3.1358, 10.9908)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D5E #5E5928
analogous
#28485E #282D5E #3E285E
triadic
#282D5E #5E282D #2D5E28
tetradic
#282D5E #5E2848 #5E5928 #285E3E
square
#282D5E #5E2848 #5E5928 #285E3E
split-complementary
#282D5E #5E3E28 #485E28
monochromatic
#090A15 #161833 #282D5E #3A4289 #4D57B3

Accessibility & contrast

On white

12.91
#282D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#282D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D5E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D5E#FFFFFF#000000##FFFFFF
##282D5E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#0F3841
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282d5e;
/* rgb */ color: rgb(40, 45, 94);
/* oklch */ color: oklch(32.1% 0.086 276.0);
Tailwind
colors: {
  custom: {
    50: '#67658c',
    500: '#282d5e',
    950: '#000000',
  },
}
SCSS
$custom: #282d5e;
$custom-light: #67658c;
$custom-dark: #000000;
JSON
{
  "hex": "#282d5e",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 234.444,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32065,
    "c": 0.08616,
    "h": 276
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#282D5E
secondary
#918B51
accent
#C558D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #282D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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