#281FA9#281FA9

#281FA9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.205 H 273.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#281FA9
RGBrgb(40, 31, 169)
HSLhsl(244, 69%, 39%)
HSVhsv(244, 82%, 66%)
CMYKcmyk(76.3%, 81.7%, 0%, 33.7%)
CIE-LABlab(24.62, 48.71, -70.66)
CIE-LCHlch(24.62, 85.82, 304.58°)
OKLaboklab(37.16% 0.0106 -0.2044)
OKLCHoklch(37.16% 0.205 273)
XYZxyz(8.5241, 4.2948, 37.9082)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281FA9 #A0A91F
analogous
#1F5BA9 #281FA9 #6D1FA9
triadic
#281FA9 #A9281F #1FA928
tetradic
#281FA9 #A91F5B #A0A91F #1FA96D
square
#281FA9 #A91F5B #A0A91F #1FA96D
split-complementary
#281FA9 #A96D1F #5BA91F
monochromatic
#100C42 #1C1675 #281FA9 #382DD8 #6960E2

Accessibility & contrast

On white

11.30
#281FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#281FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281FA9
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281FA9#FFFFFF#000000##FFFFFF
##281FA91.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #281fa9;
/* rgb */ color: rgb(40, 31, 169);
/* oklch */ color: oklch(37.2% 0.205 273.0);
Tailwind
colors: {
  custom: {
    50: '#795fc4',
    500: '#281fa9',
    950: '#000000',
  },
}
SCSS
$custom: #281fa9;
$custom-light: #795fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#281fa9",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 243.913,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.2047,
    "h": 273
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#281FA9
secondary
#C0C75D
accent
#EC3CE0
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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