#282962#282962

#282962 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.099 H 278.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#282962
RGBrgb(40, 41, 98)
HSLhsl(239, 42%, 27%)
HSVhsv(239, 59%, 38%)
CMYKcmyk(59.2%, 58.2%, 0%, 61.6%)
CIE-LABlab(19.71, 18.10, -34.08)
CIE-LCHlch(19.71, 38.58, 297.97°)
OKLaboklab(31.51% 0.0143 -0.0976)
OKLCHoklch(31.51% 0.099 278.4)
XYZxyz(3.8719, 2.9186, 11.9122)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282962 #626128
analogous
#284662 #282962 #442862
triadic
#282962 #622829 #296228
tetradic
#282962 #622846 #626128 #286244
square
#282962 #622846 #626128 #286244
split-complementary
#282962 #624428 #466228
monochromatic
#090916 #161737 #282962 #3A3B8D #4E50B7

Accessibility & contrast

On white

13.26
#282962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282962
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282962#FFFFFF#000000##FFFFFF
##2829621.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053264
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#0A3641
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282962;
/* rgb */ color: rgb(40, 41, 98);
/* oklch */ color: oklch(31.5% 0.099 278.4);
Tailwind
colors: {
  custom: {
    50: '#68628f',
    500: '#282962',
    950: '#000000',
  },
}
SCSS
$custom: #282962;
$custom-light: #68628f;
$custom-dark: #000000;
JSON
{
  "hex": "#282962",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 238.966,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.09861,
    "h": 278.4
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#282962
secondary
#959451
accent
#D056D2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #282962

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

Preview Lab → · Contrast checker → · Palette generator →

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