#282153#282153

#282153 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.088 H 285.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#282153
RGBrgb(40, 33, 83)
HSLhsl(248, 43%, 23%)
HSVhsv(248, 60%, 33%)
CMYKcmyk(51.8%, 60.2%, 0%, 67.5%)
CIE-LABlab(16.32, 18.34, -29.56)
CIE-LCHlch(16.32, 34.79, 301.82°)
OKLaboklab(28.62% 0.0239 -0.0843)
OKLCHoklch(28.62% 0.088 285.8)
XYZxyz(2.9798, 2.1632, 8.4425)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282153 #4C5321
analogous
#213353 #282153 #412153
triadic
#282153 #532821 #215328
tetradic
#282153 #532133 #4C5321 #215341
square
#282153 #532133 #4C5321 #215341
split-complementary
#282153 #534121 #335321
monochromatic
#0B0916 #131027 #282153 #3D327F #5244AB

Accessibility & contrast

On white

14.66
#282153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#282153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282153
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282153#FFFFFF#000000##FFFFFF
##2821531.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A55
Deuteranopia (green-blind)
#042752
Tritanopia (blue-blind)
#192C36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #282153;
/* rgb */ color: rgb(40, 33, 83);
/* oklch */ color: oklch(28.6% 0.088 285.8);
Tailwind
colors: {
  custom: {
    50: '#665c84',
    500: '#282153',
    950: '#000000',
  },
}
SCSS
$custom: #282153;
$custom-light: #665c84;
$custom-dark: #000000;
JSON
{
  "hex": "#282153",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 248.4,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28615,
    "c": 0.08765,
    "h": 285.8
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#282153
secondary
#7E8749
accent
#D355C1
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #282153

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

Preview Lab → · Contrast checker → · Palette generator →

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