#282895#282895

#282895 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.172 H 273.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#282895
RGBrgb(40, 40, 149)
HSLhsl(240, 58%, 37%)
HSVhsv(240, 73%, 58%)
CMYKcmyk(73.2%, 73.2%, 0%, 41.6%)
CIE-LABlab(24.12, 37.21, -59.29)
CIE-LCHlch(24.12, 70.00, 302.11°)
OKLaboklab(36.16% 0.011 -0.1715)
OKLCHoklch(36.16% 0.172 273.7)
XYZxyz(7.0569, 4.1379, 28.8547)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282895 #959528
analogous
#285F95 #282895 #5F2895
triadic
#282895 #952828 #289528
tetradic
#282895 #95285F #959528 #28955F
square
#282895 #95285F #959528 #28955F
split-complementary
#282895 #955F28 #5F9528
monochromatic
#0E0E35 #1B1B65 #282895 #3535C5 #6262D5

Accessibility & contrast

On white

11.49
#282895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282895
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282895#FFFFFF#000000##FFFFFF
##2828951.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282895;
/* rgb */ color: rgb(40, 40, 149);
/* oklch */ color: oklch(36.2% 0.172 273.7);
Tailwind
colors: {
  custom: {
    50: '#7363b5',
    500: '#282895',
    950: '#000000',
  },
}
SCSS
$custom: #282895;
$custom-light: #7363b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282895",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36158,
    "c": 0.17182,
    "h": 273.7
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#282895
secondary
#BBBB5E
accent
#E147E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282895

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

Preview Lab → · Contrast checker → · Palette generator →

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