#282897#282897

#282897 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.174 H 273.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#282897
RGBrgb(40, 40, 151)
HSLhsl(240, 58%, 37%)
HSVhsv(240, 74%, 59%)
CMYKcmyk(73.5%, 73.5%, 0%, 40.8%)
CIE-LABlab(24.33, 37.90, -60.18)
CIE-LCHlch(24.33, 71.12, 302.20°)
OKLaboklab(36.37% 0.0107 -0.1741)
OKLCHoklch(36.37% 0.174 273.5)
XYZxyz(7.2179, 4.2023, 29.7029)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282897 #979728
analogous
#286097 #282897 #602897
triadic
#282897 #972828 #289728
tetradic
#282897 #972860 #979728 #289760
square
#282897 #972860 #979728 #289760
split-complementary
#282897 #976028 #609728
monochromatic
#0E0E36 #1B1B67 #282897 #3535C7 #6464D6

Accessibility & contrast

On white

11.41
#282897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282897
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282897#FFFFFF#000000##FFFFFF
##2828971.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282897;
/* rgb */ color: rgb(40, 40, 151);
/* oklch */ color: oklch(36.4% 0.174 273.5);
Tailwind
colors: {
  custom: {
    50: '#7463b7',
    500: '#282897',
    950: '#000000',
  },
}
SCSS
$custom: #282897;
$custom-light: #7463b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282897",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36368,
    "c": 0.17439,
    "h": 273.5
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#282897
secondary
#BCBC5F
accent
#E146E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282897

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

Preview Lab → · Contrast checker → · Palette generator →

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