#282273#282273

#282273 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.133 H 278.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#282273
RGBrgb(40, 34, 115)
HSLhsl(244, 54%, 29%)
HSVhsv(244, 70%, 45%)
CMYKcmyk(65.2%, 70.4%, 0%, 54.9%)
CIE-LABlab(19.36, 29.01, -45.71)
CIE-LCHlch(19.36, 54.14, 302.40°)
OKLaboklab(31.71% 0.0206 -0.1318)
OKLCHoklch(31.71% 0.133 278.9)
XYZxyz(4.5406, 2.8326, 16.5238)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282273 #6D7322
analogous
#224573 #282273 #512273
triadic
#282273 #732822 #227328
tetradic
#282273 #732245 #6D7322 #227351
square
#282273 #732245 #6D7322 #227351
split-complementary
#282273 #735122 #457322
monochromatic
#080718 #181444 #282273 #3830A2 #5047C9

Accessibility & contrast

On white

13.40
#282273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#282273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282273
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282273#FFFFFF#000000##FFFFFF
##2822731.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282273;
/* rgb */ color: rgb(40, 34, 115);
/* oklch */ color: oklch(31.7% 0.133 278.9);
Tailwind
colors: {
  custom: {
    50: '#6c5e9c',
    500: '#282273',
    950: '#000000',
  },
}
SCSS
$custom: #282273;
$custom-light: #6c5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#282273",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 244.444,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31708,
    "c": 0.13338,
    "h": 278.9
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#282273
secondary
#9FA64B
accent
#DE4AD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #282273

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

Preview Lab → · Contrast checker → · Palette generator →

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