#282383#282383

#282383 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.154 H 276.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#282383
RGBrgb(40, 35, 131)
HSLhsl(243, 58%, 33%)
HSVhsv(243, 73%, 51%)
CMYKcmyk(69.5%, 73.3%, 0%, 48.6%)
CIE-LABlab(21.18, 33.99, -52.93)
CIE-LCHlch(21.18, 62.90, 302.71°)
OKLaboklab(33.49% 0.0172 -0.1529)
OKLCHoklch(33.49% 0.154 276.4)
XYZxyz(5.5715, 3.2914, 21.8100)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282383 #7E8323
analogous
#234E83 #282383 #582383
triadic
#282383 #832823 #238328
tetradic
#282383 #83234E #7E8323 #238358
square
#282383 #83234E #7E8323 #238358
split-complementary
#282383 #835823 #4E8323
monochromatic
#0B0922 #191653 #282383 #3730B3 #5750D0

Accessibility & contrast

On white

12.66
#282383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#282383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282383
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282383#FFFFFF#000000##FFFFFF
##2823831.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282383;
/* rgb */ color: rgb(40, 35, 131);
/* oklch */ color: oklch(33.5% 0.154 276.4);
Tailwind
colors: {
  custom: {
    50: '#705fa8',
    500: '#282383',
    950: '#000000',
  },
}
SCSS
$custom: #282383;
$custom-light: #705fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#282383",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 243.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.15386,
    "h": 276.4
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#282383
secondary
#AFB44E
accent
#E147D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #282383

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

Preview Lab → · Contrast checker → · Palette generator →

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