#281E99#281E99

#281E99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.187 H 274.6°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#281E99
RGBrgb(40, 30, 153)
HSLhsl(245, 67%, 36%)
HSVhsv(245, 80%, 60%)
CMYKcmyk(73.9%, 80.4%, 0%, 40%)
CIE-LABlab(22.58, 44.16, -64.30)
CIE-LCHlch(22.58, 78.00, 304.48°)
OKLaboklab(35.2% 0.015 -0.1859)
OKLCHoklch(35.2% 0.187 274.6)
XYZxyz(7.0872, 3.6789, 30.4674)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E99 #8F991E
analogous
#1E5199 #281E99 #651E99
triadic
#281E99 #99281E #1E9928
tetradic
#281E99 #991E51 #8F991E #1E9965
square
#281E99 #991E51 #8F991E #1E9965
split-complementary
#281E99 #99651E #51991E
monochromatic
#0D0A33 #1B1466 #281E99 #3528CC #5F54DD

Accessibility & contrast

On white

12.10
#281E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#281E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E99
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E99#FFFFFF#000000##FFFFFF
##281E991.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #281e99;
/* rgb */ color: rgb(40, 30, 153);
/* oklch */ color: oklch(35.2% 0.187 274.6);
Tailwind
colors: {
  custom: {
    50: '#755db8',
    500: '#281e99',
    950: '#000000',
  },
}
SCSS
$custom: #281e99;
$custom-light: #755db8;
$custom-dark: #000000;
JSON
{
  "hex": "#281e99",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 244.878,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35198,
    "c": 0.18655,
    "h": 274.6
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#281E99
secondary
#B8C152
accent
#EA3EDC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281E99

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

Preview Lab → · Contrast checker → · Palette generator →

#281E99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva