#282883#282883

#282883 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.148 H 275.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#282883
RGBrgb(40, 40, 131)
HSLhsl(240, 53%, 34%)
HSVhsv(240, 69%, 51%)
CMYKcmyk(69.5%, 69.5%, 0%, 48.6%)
CIE-LABlab(22.33, 30.84, -51.03)
CIE-LCHlch(22.33, 59.63, 301.15°)
OKLaboklab(34.32% 0.0136 -0.1474)
OKLCHoklch(34.32% 0.148 275.3)
XYZxyz(5.7292, 3.6069, 21.8626)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282883 #838328
analogous
#285583 #282883 #552883
triadic
#282883 #832828 #288328
tetradic
#282883 #832855 #838328 #288355
square
#282883 #832855 #838328 #288355
split-complementary
#282883 #835528 #558328
monochromatic
#0B0B25 #1A1A54 #282883 #3636B2 #5959CC

Accessibility & contrast

On white

12.20
#282883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282883
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282883#FFFFFF#000000##FFFFFF
##2828831.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282883;
/* rgb */ color: rgb(40, 40, 131);
/* oklch */ color: oklch(34.3% 0.148 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f62a8',
    500: '#282883',
    950: '#000000',
  },
}
SCSS
$custom: #282883;
$custom-light: #6f62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#282883",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34323,
    "c": 0.14799,
    "h": 275.3
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#282883
secondary
#B1B155
accent
#DD4BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #282883

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

Preview Lab → · Contrast checker → · Palette generator →

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