#281E9A#281E9A

#281E9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.188 H 274.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#281E9A
RGBrgb(40, 30, 154)
HSLhsl(245, 67%, 36%)
HSVhsv(245, 81%, 60%)
CMYKcmyk(74%, 80.5%, 0%, 39.6%)
CIE-LABlab(22.70, 44.48, -64.72)
CIE-LCHlch(22.70, 78.53, 304.50°)
OKLaboklab(35.31% 0.0148 -0.1872)
OKLCHoklch(35.31% 0.188 274.5)
XYZxyz(7.1701, 3.7120, 30.9042)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E9A #909A1E
analogous
#1E529A #281E9A #661E9A
triadic
#281E9A #9A281E #1E9A28
tetradic
#281E9A #9A1E52 #909A1E #1E9A66
square
#281E9A #9A1E52 #909A1E #1E9A66
split-complementary
#281E9A #9A661E #529A1E
monochromatic
#0D0A34 #1B1467 #281E9A #3528CD #6055DE

Accessibility & contrast

On white

12.05
#281E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E9A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E9A#FFFFFF#000000##FFFFFF
##281E9A1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281e9a;
/* rgb */ color: rgb(40, 30, 154);
/* oklch */ color: oklch(35.3% 0.188 274.5);
Tailwind
colors: {
  custom: {
    50: '#765db9',
    500: '#281e9a',
    950: '#000000',
  },
}
SCSS
$custom: #281e9a;
$custom-light: #765db9;
$custom-dark: #000000;
JSON
{
  "hex": "#281e9a",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 244.839,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.18776,
    "h": 274.5
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #281E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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