#281AB3#281AB3

#281AB3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.220 H 272.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#281AB3
RGBrgb(40, 26, 179)
HSLhsl(245, 75%, 40%)
HSVhsv(245, 85%, 70%)
CMYKcmyk(77.7%, 85.5%, 0%, 29.8%)
CIE-LABlab(25.09, 53.95, -75.90)
CIE-LCHlch(25.09, 93.12, 305.41°)
OKLaboklab(37.83% 0.0093 -0.2195)
OKLCHoklch(37.83% 0.22 272.4)
XYZxyz(9.3784, 4.4436, 43.0025)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281AB3 #A5B31A
analogous
#1A59B3 #281AB3 #741AB3
triadic
#281AB3 #B3281A #1AB328
tetradic
#281AB3 #B31A59 #A5B31A #1AB374
square
#281AB3 #B31A59 #A5B31A #1AB374
split-complementary
#281AB3 #B3741A #59B31A
monochromatic
#100A48 #1C127E #281AB3 #3B2AE0 #6C60E8

Accessibility & contrast

On white

11.12
#281AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#281AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281AB3
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281AB3#FFFFFF#000000##FFFFFF
##281AB31.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #281ab3;
/* rgb */ color: rgb(40, 26, 179);
/* oklch */ color: oklch(37.8% 0.220 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c5dcb',
    500: '#281ab3',
    950: '#000000',
  },
}
SCSS
$custom: #281ab3;
$custom-light: #7c5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#281ab3",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 245.49,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37833,
    "c": 0.2197,
    "h": 272.4
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#281AB3
secondary
#C2CC5D
accent
#F137E0
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #281AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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