#282276#282276

#282276 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.138 H 278.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#282276
RGBrgb(40, 34, 118)
HSLhsl(244, 55%, 30%)
HSVhsv(244, 71%, 46%)
CMYKcmyk(66.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(19.65, 30.07, -47.17)
CIE-LCHlch(19.65, 55.93, 302.52°)
OKLaboklab(32.01% 0.0202 -0.136)
OKLCHoklch(32.01% 0.138 278.4)
XYZxyz(4.7161, 2.9028, 17.4478)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282276 #707622
analogous
#224676 #282276 #522276
triadic
#282276 #762822 #227628
tetradic
#282276 #762246 #707622 #227652
square
#282276 #762246 #707622 #227652
split-complementary
#282276 #765222 #467622
monochromatic
#080718 #181446 #282276 #3830A6 #5148CA

Accessibility & contrast

On white

13.29
#282276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282276
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282276#FFFFFF#000000##FFFFFF
##2822761.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #282276;
/* rgb */ color: rgb(40, 34, 118);
/* oklch */ color: oklch(32.0% 0.138 278.4);
Tailwind
colors: {
  custom: {
    50: '#6d5e9e',
    500: '#282276',
    950: '#000000',
  },
}
SCSS
$custom: #282276;
$custom-light: #6d5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#282276",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 244.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.13753,
    "h": 278.4
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#282276
secondary
#A2A94B
accent
#DF49D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #282276

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

Preview Lab → · Contrast checker → · Palette generator →

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