#282955#282955

#282955 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.078 H 279.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#282955
RGBrgb(40, 41, 85)
HSLhsl(239, 36%, 25%)
HSVhsv(239, 53%, 33%)
CMYKcmyk(52.9%, 51.8%, 0%, 66.7%)
CIE-LABlab(18.77, 13.37, -26.97)
CIE-LCHlch(18.77, 30.11, 296.36°)
OKLaboklab(30.49% 0.0132 -0.0767)
OKLCHoklch(30.49% 0.078 279.7)
XYZxyz(3.3072, 2.6927, 8.9380)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282955 #555428
analogous
#284055 #282955 #3E2855
triadic
#282955 #552829 #295528
tetradic
#282955 #552840 #555428 #28553E
square
#282955 #552840 #555428 #28553E
split-complementary
#282955 #553E28 #405528
monochromatic
#0A0A15 #14152B #282955 #3C3D7F #4F51A8

Accessibility & contrast

On white

13.65
#282955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282955
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282955#FFFFFF#000000##FFFFFF
##2829551.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F57
Deuteranopia (green-blind)
#122C54
Tritanopia (blue-blind)
#17323B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282955;
/* rgb */ color: rgb(40, 41, 85);
/* oklch */ color: oklch(30.5% 0.078 279.7);
Tailwind
colors: {
  custom: {
    50: '#656285',
    500: '#282955',
    950: '#000000',
  },
}
SCSS
$custom: #282955;
$custom-light: #656285;
$custom-dark: #000000;
JSON
{
  "hex": "#282955",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 238.667,
    "s": 36,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.0778,
    "h": 279.7
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#282955
secondary
#888751
accent
#CA5CCC
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282955

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

Preview Lab → · Contrast checker → · Palette generator →

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