#282995#282995

#282995 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.171 H 273.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#282995
RGBrgb(40, 41, 149)
HSLhsl(239, 58%, 37%)
HSVhsv(239, 73%, 58%)
CMYKcmyk(73.2%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.34, 36.60, -58.93)
CIE-LCHlch(24.34, 69.37, 301.85°)
OKLaboklab(36.32% 0.0104 -0.1704)
OKLCHoklch(36.32% 0.171 273.5)
XYZxyz(7.0910, 4.2062, 28.8661)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282995 #959428
analogous
#285F95 #282995 #5E2895
triadic
#282995 #952829 #299528
tetradic
#282995 #95285F #959428 #28955E
square
#282995 #95285F #959428 #28955E
split-complementary
#282995 #955E28 #5F9528
monochromatic
#0E0E35 #1B1C65 #282995 #3536C5 #6263D5

Accessibility & contrast

On white

11.40
#282995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282995
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282995#FFFFFF#000000##FFFFFF
##2829951.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282995;
/* rgb */ color: rgb(40, 41, 149);
/* oklch */ color: oklch(36.3% 0.171 273.5);
Tailwind
colors: {
  custom: {
    50: '#7364b5',
    500: '#282995',
    950: '#000000',
  },
}
SCSS
$custom: #282995;
$custom-light: #7364b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282995",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 239.45,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36315,
    "c": 0.17074,
    "h": 273.5
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#282995
secondary
#BBBA5E
accent
#DF47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282995

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

Preview Lab → · Contrast checker → · Palette generator →

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