#282288#282288

#282288 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.161 H 276.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#282288
RGBrgb(40, 34, 136)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 53%)
CMYKcmyk(70.6%, 75%, 0%, 46.7%)
CIE-LABlab(21.48, 36.32, -55.57)
CIE-LCHlch(21.48, 66.39, 303.17°)
OKLaboklab(33.87% 0.0169 -0.1606)
OKLCHoklch(33.87% 0.161 276)
XYZxyz(5.8896, 3.3722, 23.6283)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282288 #828822
analogous
#224F88 #282288 #5B2288
triadic
#282288 #882822 #228828
tetradic
#282288 #88224F #828822 #22885B
square
#282288 #88224F #828822 #22885B
split-complementary
#282288 #885B22 #4F8822
monochromatic
#0B0A26 #1A1657 #282288 #362EB9 #5951D3

Accessibility & contrast

On white

12.54
#282288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282288
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282288#FFFFFF#000000##FFFFFF
##2822881.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282288;
/* rgb */ color: rgb(40, 34, 136);
/* oklch */ color: oklch(33.9% 0.161 276.0);
Tailwind
colors: {
  custom: {
    50: '#715fac',
    500: '#282288',
    950: '#000000',
  },
}
SCSS
$custom: #282288;
$custom-light: #715fac;
$custom-dark: #000000;
JSON
{
  "hex": "#282288",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 243.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.16149,
    "h": 276
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#282288
secondary
#B1B74F
accent
#E345DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #282288

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

Preview Lab → · Contrast checker → · Palette generator →

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