#282597#282597

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

Color values

HEX#282597
RGBrgb(40, 37, 151)
HSLhsl(242, 61%, 37%)
HSVhsv(242, 75%, 59%)
CMYKcmyk(73.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.70, 39.67, -61.22)
CIE-LCHlch(23.70, 72.95, 302.94°)
OKLaboklab(35.92% 0.0123 -0.1771)
OKLCHoklch(35.92% 0.178 274)
XYZxyz(7.1207, 4.0079, 29.6705)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282597 #949725
analogous
#255B97 #282597 #612597
triadic
#282597 #972825 #259728
tetradic
#282597 #97255B #949725 #259761
square
#282597 #97255B #949725 #259761
split-complementary
#282597 #976125 #5B9725
monochromatic
#0E0D35 #1B1966 #282597 #3531C8 #625FD8

Accessibility & contrast

On white

11.66
#282597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282597
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282597#FFFFFF#000000##FFFFFF
##2825971.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282597;
/* rgb */ color: rgb(40, 37, 151);
/* oklch */ color: oklch(35.9% 0.177 274.0);
Tailwind
colors: {
  custom: {
    50: '#7461b7',
    500: '#282597',
    950: '#000000',
  },
}
SCSS
$custom: #282597;
$custom-light: #7461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282597",
  "rgb": {
    "r": 40,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 241.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.1775,
    "h": 274
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#282597
secondary
#BABD5B
accent
#E444E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282597

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

Preview Lab → · Contrast checker → · Palette generator →

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