#282073#282073

#282073 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.136 H 279.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#282073
RGBrgb(40, 32, 115)
HSLhsl(246, 56%, 29%)
HSVhsv(246, 72%, 45%)
CMYKcmyk(65.2%, 72.2%, 0%, 54.9%)
CIE-LABlab(18.89, 30.28, -46.48)
CIE-LCHlch(18.89, 55.47, 303.09°)
OKLaboklab(31.37% 0.0223 -0.134)
OKLCHoklch(31.37% 0.136 279.4)
XYZxyz(4.4851, 2.7216, 16.5053)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282073 #6B7320
analogous
#204273 #282073 #522073
triadic
#282073 #732820 #207328
tetradic
#282073 #732042 #6B7320 #207352
square
#282073 #732042 #6B7320 #207352
split-complementary
#282073 #735220 #427320
monochromatic
#080718 #171343 #282073 #392DA3 #5043CB

Accessibility & contrast

On white

13.60
#282073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#282073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282073
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282073#FFFFFF#000000##FFFFFF
##2820731.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282073;
/* rgb */ color: rgb(40, 32, 115);
/* oklch */ color: oklch(31.4% 0.136 279.4);
Tailwind
colors: {
  custom: {
    50: '#6c5c9c',
    500: '#282073',
    950: '#000000',
  },
}
SCSS
$custom: #282073;
$custom-light: #6c5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#282073",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 245.783,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31371,
    "c": 0.13587,
    "h": 279.4
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#282073
secondary
#9DA748
accent
#E048D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #282073

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

Preview Lab → · Contrast checker → · Palette generator →

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