#282596#282596

#282596 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.176 H 274.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#282596
RGBrgb(40, 37, 150)
HSLhsl(242, 60%, 37%)
HSVhsv(242, 75%, 59%)
CMYKcmyk(73.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.59, 39.33, -60.78)
CIE-LCHlch(23.59, 72.40, 302.91°)
OKLaboklab(35.81% 0.0124 -0.1758)
OKLCHoklch(35.81% 0.176 274)
XYZxyz(7.0398, 3.9756, 29.2446)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282596 #939625
analogous
#255B96 #282596 #612596
triadic
#282596 #962825 #259628
tetradic
#282596 #96255B #939625 #259661
square
#282596 #96255B #939625 #259661
split-complementary
#282596 #966125 #5B9625
monochromatic
#0E0D34 #1B1965 #282596 #3531C7 #615ED7

Accessibility & contrast

On white

11.70
#282596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#282596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282596
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282596#FFFFFF#000000##FFFFFF
##2825961.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282596;
/* rgb */ color: rgb(40, 37, 150);
/* oklch */ color: oklch(35.8% 0.176 274.0);
Tailwind
colors: {
  custom: {
    50: '#7461b6',
    500: '#282596',
    950: '#000000',
  },
}
SCSS
$custom: #282596;
$custom-light: #7461b6;
$custom-dark: #000000;
JSON
{
  "hex": "#282596",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 241.593,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.17624,
    "h": 274
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#282596
secondary
#BABC5B
accent
#E444DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282596

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

Preview Lab → · Contrast checker → · Palette generator →

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