#281E92#281E92

#281E92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.178 H 275.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#281E92
RGBrgb(40, 30, 146)
HSLhsl(245, 66%, 35%)
HSVhsv(245, 79%, 57%)
CMYKcmyk(72.6%, 79.5%, 0%, 42.7%)
CIE-LABlab(21.78, 41.90, -61.30)
CIE-LCHlch(21.78, 74.25, 304.35°)
OKLaboklab(34.4% 0.0168 -0.1772)
OKLCHoklch(34.4% 0.178 275.4)
XYZxyz(6.5259, 3.4544, 27.5114)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E92 #88921E
analogous
#1E4E92 #281E92 #621E92
triadic
#281E92 #92281E #1E9228
tetradic
#281E92 #921E4E #88921E #1E9262
square
#281E92 #921E4E #88921E #1E9262
split-complementary
#281E92 #92621E #4E921E
monochromatic
#0C092C #1A145F #281E92 #3628C5 #5B4FDB

Accessibility & contrast

On white

12.42
#281E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#281E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E92
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E92#FFFFFF#000000##FFFFFF
##281E921.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #281e92;
/* rgb */ color: rgb(40, 30, 146);
/* oklch */ color: oklch(34.4% 0.178 275.4);
Tailwind
colors: {
  custom: {
    50: '#745db3',
    500: '#281e92',
    950: '#000000',
  },
}
SCSS
$custom: #281e92;
$custom-light: #745db3;
$custom-dark: #000000;
JSON
{
  "hex": "#281e92",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 245.172,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.17804,
    "h": 275.4
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#281E92
secondary
#B4BE4E
accent
#E93FDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281E92

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

Preview Lab → · Contrast checker → · Palette generator →

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