#282293#282293

#282293 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.175 H 274.8°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#282293
RGBrgb(40, 34, 147)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 77%, 58%)
CMYKcmyk(72.8%, 76.9%, 0%, 42.4%)
CIE-LABlab(22.66, 40.04, -60.47)
CIE-LCHlch(22.66, 72.52, 303.51°)
OKLaboklab(35.05% 0.0146 -0.1749)
OKLCHoklch(35.05% 0.175 274.8)
XYZxyz(6.7118, 3.7011, 27.9588)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282293 #8D9322
analogous
#225493 #282293 #602293
triadic
#282293 #932822 #229328
tetradic
#282293 #932254 #8D9322 #229360
square
#282293 #932254 #8D9322 #229360
split-complementary
#282293 #936022 #549322
monochromatic
#0D0B30 #1A1761 #282293 #362DC5 #5E57D8

Accessibility & contrast

On white

12.07
#282293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282293
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282293#FFFFFF#000000##FFFFFF
##2822931.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282293;
/* rgb */ color: rgb(40, 34, 147);
/* oklch */ color: oklch(35.1% 0.175 274.8);
Tailwind
colors: {
  custom: {
    50: '#735fb4',
    500: '#282293',
    950: '#000000',
  },
}
SCSS
$custom: #282293;
$custom-light: #735fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#282293",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 243.186,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.17548,
    "h": 274.8
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#282293
secondary
#B7BC55
accent
#E542DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282293

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

Preview Lab → · Contrast checker → · Palette generator →

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