#282964#282964

#282964 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.102 H 278.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#282964
RGBrgb(40, 41, 100)
HSLhsl(239, 43%, 27%)
HSVhsv(239, 60%, 39%)
CMYKcmyk(60%, 59%, 0%, 60.8%)
CIE-LABlab(19.87, 18.83, -35.14)
CIE-LCHlch(19.87, 39.87, 298.19°)
OKLaboklab(31.67% 0.0144 -0.1007)
OKLCHoklch(31.67% 0.102 278.1)
XYZxyz(3.9675, 2.9568, 12.4158)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282964 #646328
analogous
#284764 #282964 #452864
triadic
#282964 #642829 #296428
tetradic
#282964 #642847 #646328 #286445
square
#282964 #642847 #646328 #286445
split-complementary
#282964 #644528 #476428
monochromatic
#090916 #171738 #282964 #393B90 #4E50B8

Accessibility & contrast

On white

13.20
#282964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#282964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282964
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282964#FFFFFF#000000##FFFFFF
##2829641.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023366
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#073742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282964;
/* rgb */ color: rgb(40, 41, 100);
/* oklch */ color: oklch(31.7% 0.102 278.1);
Tailwind
colors: {
  custom: {
    50: '#686291',
    500: '#282964',
    950: '#000000',
  },
}
SCSS
$custom: #282964;
$custom-light: #686291;
$custom-dark: #000000;
JSON
{
  "hex": "#282964",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 239,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31674,
    "c": 0.10171,
    "h": 278.1
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#282964
secondary
#979651
accent
#D155D3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #282964

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

Preview Lab → · Contrast checker → · Palette generator →

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