#282287#282287

#282287 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.160 H 276.1°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#282287
RGBrgb(40, 34, 135)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 53%)
CMYKcmyk(70.4%, 74.8%, 0%, 47.1%)
CIE-LABlab(21.37, 35.98, -55.12)
CIE-LCHlch(21.37, 65.82, 303.13°)
OKLaboklab(33.76% 0.0171 -0.1593)
OKLCHoklch(33.76% 0.16 276.1)
XYZxyz(5.8188, 3.3439, 23.2558)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282287 #818722
analogous
#224F87 #282287 #5A2287
triadic
#282287 #872822 #228728
tetradic
#282287 #87224F #818722 #22875A
square
#282287 #87224F #818722 #22875A
split-complementary
#282287 #875A22 #4F8722
monochromatic
#0B0925 #1A1656 #282287 #362EB8 #5850D3

Accessibility & contrast

On white

12.58
#282287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282287
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282287#FFFFFF#000000##FFFFFF
##2822871.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282287;
/* rgb */ color: rgb(40, 34, 135);
/* oklch */ color: oklch(33.8% 0.160 276.1);
Tailwind
colors: {
  custom: {
    50: '#715eab',
    500: '#282287',
    950: '#000000',
  },
}
SCSS
$custom: #282287;
$custom-light: #715eab;
$custom-dark: #000000;
JSON
{
  "hex": "#282287",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 243.564,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.1602,
    "h": 276.1
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282287

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

Preview Lab → · Contrast checker → · Palette generator →

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