#282495#282495

#282495 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.176 H 274.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#282495
RGBrgb(40, 36, 149)
HSLhsl(242, 61%, 36%)
HSVhsv(242, 76%, 58%)
CMYKcmyk(73.2%, 75.8%, 0%, 41.6%)
CIE-LABlab(23.28, 39.57, -60.68)
CIE-LCHlch(23.28, 72.44, 303.11°)
OKLaboklab(35.56% 0.0132 -0.1755)
OKLCHoklch(35.56% 0.176 274.3)
XYZxyz(6.9290, 3.8821, 28.8121)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282495 #919524
analogous
#245995 #282495 #612495
triadic
#282495 #952824 #249528
tetradic
#282495 #952459 #919524 #249561
square
#282495 #952459 #919524 #249561
split-complementary
#282495 #956124 #599524
monochromatic
#0E0C32 #1B1864 #282495 #3530C6 #605CD8

Accessibility & contrast

On white

11.82
#282495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#282495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282495
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282495#FFFFFF#000000##FFFFFF
##2824951.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282495;
/* rgb */ color: rgb(40, 36, 149);
/* oklch */ color: oklch(35.6% 0.176 274.3);
Tailwind
colors: {
  custom: {
    50: '#7460b5',
    500: '#282495',
    950: '#000000',
  },
}
SCSS
$custom: #282495;
$custom-light: #7460b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282495",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 242.124,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35557,
    "c": 0.176,
    "h": 274.3
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#282495
secondary
#B9BC59
accent
#E444DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #282495

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

Preview Lab → · Contrast checker → · Palette generator →

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