#282965#282965

#282965 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.103 H 278.0°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#282965
RGBrgb(40, 41, 101)
HSLhsl(239, 43%, 28%)
HSVhsv(239, 60%, 40%)
CMYKcmyk(60.4%, 59.4%, 0%, 60.4%)
CIE-LABlab(19.95, 19.20, -35.67)
CIE-LCHlch(19.95, 40.51, 298.30°)
OKLaboklab(31.76% 0.0144 -0.1022)
OKLCHoklch(31.76% 0.103 278)
XYZxyz(4.0162, 2.9763, 12.6722)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282965 #656428
analogous
#284865 #282965 #452865
triadic
#282965 #652829 #296528
tetradic
#282965 #652848 #656428 #286545
square
#282965 #652848 #656428 #286545
split-complementary
#282965 #654528 #486528
monochromatic
#090916 #171739 #282965 #393B91 #4E50B9

Accessibility & contrast

On white

13.16
#282965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#282965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282965
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282965#FFFFFF#000000##FFFFFF
##2829651.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#063742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282965;
/* rgb */ color: rgb(40, 41, 101);
/* oklch */ color: oklch(31.8% 0.103 278.0);
Tailwind
colors: {
  custom: {
    50: '#686291',
    500: '#282965',
    950: '#000000',
  },
}
SCSS
$custom: #282965;
$custom-light: #686291;
$custom-dark: #000000;
JSON
{
  "hex": "#282965",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 239.016,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.10324,
    "h": 278
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#282965
secondary
#989651
accent
#D155D3
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #282965

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

Preview Lab → · Contrast checker → · Palette generator →

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