#282497#282497

#282497 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.179 H 274.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#282497
RGBrgb(40, 36, 151)
HSLhsl(242, 61%, 37%)
HSVhsv(242, 76%, 59%)
CMYKcmyk(73.5%, 76.2%, 0%, 40.8%)
CIE-LABlab(23.49, 40.25, -61.56)
CIE-LCHlch(23.49, 73.55, 303.18°)
OKLaboklab(35.77% 0.0127 -0.1781)
OKLCHoklch(35.77% 0.179 274.1)
XYZxyz(7.0900, 3.9465, 29.6603)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282497 #939724
analogous
#245A97 #282497 #622497
triadic
#282497 #972824 #249728
tetradic
#282497 #97245A #939724 #249762
square
#282497 #97245A #939724 #249762
split-complementary
#282497 #976224 #5A9724
monochromatic
#0E0C34 #1B1866 #282497 #3530C8 #615DD8

Accessibility & contrast

On white

11.74
#282497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#282497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282497
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282497#FFFFFF#000000##FFFFFF
##2824971.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282497;
/* rgb */ color: rgb(40, 36, 151);
/* oklch */ color: oklch(35.8% 0.179 274.1);
Tailwind
colors: {
  custom: {
    50: '#7461b7',
    500: '#282497',
    950: '#000000',
  },
}
SCSS
$custom: #282497;
$custom-light: #7461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282497",
  "rgb": {
    "r": 40,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 242.087,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35774,
    "c": 0.17851,
    "h": 274.1
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#282497
secondary
#BABD5A
accent
#E543DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #282497

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

Preview Lab → · Contrast checker → · Palette generator →

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