#282961#282961

#282961 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.097 H 278.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#282961
RGBrgb(40, 41, 97)
HSLhsl(239, 42%, 27%)
HSVhsv(239, 59%, 38%)
CMYKcmyk(58.8%, 57.7%, 0%, 62%)
CIE-LABlab(19.64, 17.73, -33.54)
CIE-LCHlch(19.64, 37.94, 297.86°)
OKLaboklab(31.43% 0.0143 -0.096)
OKLCHoklch(31.43% 0.097 278.5)
XYZxyz(3.8250, 2.8998, 11.6651)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282961 #616028
analogous
#284661 #282961 #442861
triadic
#282961 #612829 #296128
tetradic
#282961 #612846 #616028 #286144
square
#282961 #612846 #616028 #286144
split-complementary
#282961 #614428 #466128
monochromatic
#090916 #161736 #282961 #3A3B8C #4E4FB6

Accessibility & contrast

On white

13.29
#282961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282961
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282961#FFFFFF#000000##FFFFFF
##2829611.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#0C3640
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282961;
/* rgb */ color: rgb(40, 41, 97);
/* oklch */ color: oklch(31.4% 0.097 278.5);
Tailwind
colors: {
  custom: {
    50: '#68628e',
    500: '#282961',
    950: '#000000',
  },
}
SCSS
$custom: #282961;
$custom-light: #68628e;
$custom-dark: #000000;
JSON
{
  "hex": "#282961",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 97
  },
  "hsl": {
    "h": 238.947,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.09705,
    "h": 278.5
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#282961
secondary
#949351
accent
#CF56D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282961

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

Preview Lab → · Contrast checker → · Palette generator →

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