#282299#282299

#282299 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.183 H 274.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#282299
RGBrgb(40, 34, 153)
HSLhsl(243, 64%, 37%)
HSVhsv(243, 78%, 60%)
CMYKcmyk(73.9%, 77.8%, 0%, 40%)
CIE-LABlab(23.32, 42.03, -63.07)
CIE-LCHlch(23.32, 75.80, 303.68°)
OKLaboklab(35.72% 0.0133 -0.1824)
OKLCHoklch(35.72% 0.183 274.2)
XYZxyz(7.1950, 3.8944, 30.5033)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282299 #939922
analogous
#225899 #282299 #642299
triadic
#282299 #992822 #229928
tetradic
#282299 #992258 #939922 #229964
square
#282299 #992258 #939922 #229964
split-complementary
#282299 #996422 #589922
monochromatic
#0E0C35 #1B1767 #282299 #352DCB #615BDB

Accessibility & contrast

On white

11.80
#282299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#282299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282299
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282299#FFFFFF#000000##FFFFFF
##2822991.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282299;
/* rgb */ color: rgb(40, 34, 153);
/* oklch */ color: oklch(35.7% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#755fb8',
    500: '#282299',
    950: '#000000',
  },
}
SCSS
$custom: #282299;
$custom-light: #755fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#282299",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 243.025,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.18293,
    "h": 274.2
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#282299
secondary
#BABF58
accent
#E741DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #282299

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

Preview Lab → · Contrast checker → · Palette generator →

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