#282296#282296

#282296 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.179 H 274.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#282296
RGBrgb(40, 34, 150)
HSLhsl(243, 63%, 36%)
HSVhsv(243, 77%, 59%)
CMYKcmyk(73.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(22.99, 41.04, -61.78)
CIE-LCHlch(22.99, 74.17, 303.60°)
OKLaboklab(35.38% 0.014 -0.1787)
OKLCHoklch(35.38% 0.179 274.5)
XYZxyz(6.9503, 3.7965, 29.2148)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282296 #909622
analogous
#225696 #282296 #622296
triadic
#282296 #962822 #229628
tetradic
#282296 #962256 #909622 #229662
square
#282296 #962256 #909622 #229662
split-complementary
#282296 #966222 #569622
monochromatic
#0D0B32 #1B1764 #282296 #352DC8 #6059D9

Accessibility & contrast

On white

11.94
#282296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282296
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282296#FFFFFF#000000##FFFFFF
##2822961.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282296;
/* rgb */ color: rgb(40, 34, 150);
/* oklch */ color: oklch(35.4% 0.179 274.5);
Tailwind
colors: {
  custom: {
    50: '#745fb6',
    500: '#282296',
    950: '#000000',
  },
}
SCSS
$custom: #282296;
$custom-light: #745fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#282296",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 243.103,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35384,
    "c": 0.17922,
    "h": 274.5
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#282296
secondary
#B8BE56
accent
#E642DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282296

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

Preview Lab → · Contrast checker → · Palette generator →

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