#282956#282956

#282956 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.079 H 279.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#282956
RGBrgb(40, 41, 86)
HSLhsl(239, 37%, 25%)
HSVhsv(239, 53%, 34%)
CMYKcmyk(53.5%, 52.3%, 0%, 66.3%)
CIE-LABlab(18.84, 13.73, -27.53)
CIE-LCHlch(18.84, 30.77, 296.50°)
OKLaboklab(30.57% 0.0133 -0.0783)
OKLCHoklch(30.57% 0.079 279.6)
XYZxyz(3.3472, 2.7087, 9.1488)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282956 #565528
analogous
#284056 #282956 #3E2856
triadic
#282956 #562829 #295628
tetradic
#282956 #562840 #565528 #28563E
square
#282956 #562840 #565528 #28563E
split-complementary
#282956 #563E28 #405628
monochromatic
#0A0A15 #15152C #282956 #3B3D80 #4F51AA

Accessibility & contrast

On white

13.62
#282956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282956
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282956#FFFFFF#000000##FFFFFF
##2829561.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153058
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#17333B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282956;
/* rgb */ color: rgb(40, 41, 86);
/* oklch */ color: oklch(30.6% 0.079 279.6);
Tailwind
colors: {
  custom: {
    50: '#666286',
    500: '#282956',
    950: '#000000',
  },
}
SCSS
$custom: #282956;
$custom-light: #666286;
$custom-dark: #000000;
JSON
{
  "hex": "#282956",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 238.696,
    "s": 36.508,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30569,
    "c": 0.07944,
    "h": 279.6
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#282956
secondary
#898851
accent
#CA5BCD
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282956

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

Preview Lab → · Contrast checker → · Palette generator →

#282956 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva