#282295#282295

#282295 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.178 H 274.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#282295
RGBrgb(40, 34, 149)
HSLhsl(243, 63%, 36%)
HSVhsv(243, 77%, 58%)
CMYKcmyk(73.2%, 77.2%, 0%, 41.6%)
CIE-LABlab(22.88, 40.71, -61.34)
CIE-LCHlch(22.88, 73.62, 303.57°)
OKLaboklab(35.27% 0.0142 -0.1774)
OKLCHoklch(35.27% 0.178 274.6)
XYZxyz(6.8701, 3.7644, 28.7925)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282295 #8F9522
analogous
#225595 #282295 #612295
triadic
#282295 #952822 #229528
tetradic
#282295 #952255 #8F9522 #229561
square
#282295 #952255 #8F9522 #229561
split-complementary
#282295 #956122 #559522
monochromatic
#0D0B31 #1B1763 #282295 #352DC7 #5F58D9

Accessibility & contrast

On white

11.98
#282295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282295
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282295#FFFFFF#000000##FFFFFF
##2822951.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282295;
/* rgb */ color: rgb(40, 34, 149);
/* oklch */ color: oklch(35.3% 0.178 274.6);
Tailwind
colors: {
  custom: {
    50: '#745fb5',
    500: '#282295',
    950: '#000000',
  },
}
SCSS
$custom: #282295;
$custom-light: #745fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#282295",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 243.13,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.17797,
    "h": 274.6
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#282295
secondary
#B8BD56
accent
#E642DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282295

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

Preview Lab → · Contrast checker → · Palette generator →

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