#281E9F#281E9F

#281E9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.194 H 274.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#281E9F
RGBrgb(40, 30, 159)
HSLhsl(245, 68%, 37%)
HSVhsv(245, 81%, 62%)
CMYKcmyk(74.8%, 81.1%, 0%, 37.6%)
CIE-LABlab(23.28, 46.06, -66.82)
CIE-LCHlch(23.28, 81.16, 304.58°)
OKLaboklab(35.89% 0.0135 -0.1933)
OKLCHoklch(35.89% 0.194 274)
XYZxyz(7.5953, 3.8821, 33.1432)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E9F #959F1E
analogous
#1E559F #281E9F #691E9F
triadic
#281E9F #9F281E #1E9F28
tetradic
#281E9F #9F1E55 #959F1E #1E9F69
square
#281E9F #9F1E55 #959F1E #1E9F69
split-complementary
#281E9F #9F691E #559F1E
monochromatic
#0E0B38 #1B146C #281E9F #3528D2 #6258DF

Accessibility & contrast

On white

11.82
#281E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#281E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E9F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E9F#FFFFFF#000000##FFFFFF
##281E9F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #281e9f;
/* rgb */ color: rgb(40, 30, 159);
/* oklch */ color: oklch(35.9% 0.194 274.0);
Tailwind
colors: {
  custom: {
    50: '#775ebd',
    500: '#281e9f',
    950: '#000000',
  },
}
SCSS
$custom: #281e9f;
$custom-light: #775ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#281e9f",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 244.651,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.19374,
    "h": 274
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#281E9F
secondary
#BBC356
accent
#EB3DDE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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