#281FAA#281FAA

#281FAA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.206 H 272.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#281FAA
RGBrgb(40, 31, 170)
HSLhsl(244, 69%, 39%)
HSVhsv(244, 82%, 67%)
CMYKcmyk(76.5%, 81.8%, 0%, 33.3%)
CIE-LABlab(24.74, 49.02, -71.07)
CIE-LCHlch(24.74, 86.33, 304.60°)
OKLaboklab(37.28% 0.0104 -0.2056)
OKLCHoklch(37.28% 0.206 272.9)
XYZxyz(8.6183, 4.3325, 38.4045)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281FAA #A1AA1F
analogous
#1F5CAA #281FAA #6E1FAA
triadic
#281FAA #AA281F #1FAA28
tetradic
#281FAA #AA1F5C #A1AA1F #1FAA6E
square
#281FAA #AA1F5C #A1AA1F #1FAA6E
split-complementary
#281FAA #AA6E1F #5CAA1F
monochromatic
#100C42 #1C1676 #281FAA #392DD9 #6A61E2

Accessibility & contrast

On white

11.25
#281FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#281FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281FAA
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281FAA#FFFFFF#000000##FFFFFF
##281FAA1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #281faa;
/* rgb */ color: rgb(40, 31, 170);
/* oklch */ color: oklch(37.3% 0.206 272.9);
Tailwind
colors: {
  custom: {
    50: '#795fc5',
    500: '#281faa',
    950: '#000000',
  },
}
SCSS
$custom: #281faa;
$custom-light: #795fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#281faa",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 243.885,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.20586,
    "h": 272.9
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#281FAA
secondary
#C0C75E
accent
#EC3CE1
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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