#281A92#281A92

#281A92 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.182 H 275.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#281A92
RGBrgb(40, 26, 146)
HSLhsl(247, 70%, 34%)
HSVhsv(247, 82%, 57%)
CMYKcmyk(72.6%, 82.2%, 0%, 42.7%)
CIE-LABlab(21.07, 43.94, -62.47)
CIE-LCHlch(21.07, 76.38, 305.12°)
OKLaboklab(33.91% 0.0185 -0.1806)
OKLCHoklch(33.91% 0.182 275.9)
XYZxyz(6.4311, 3.2646, 27.4798)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A92 #84921A
analogous
#1A4892 #281A92 #641A92
triadic
#281A92 #92281A #1A9228
tetradic
#281A92 #921A48 #84921A #1A9264
square
#281A92 #921A48 #84921A #1A9264
split-complementary
#281A92 #92641A #48921A
monochromatic
#0C072A #1A115E #281A92 #3623C6 #5A48DE

Accessibility & contrast

On white

12.70
#281A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#281A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A92
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A92#FFFFFF#000000##FFFFFF
##281A921.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002D90
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281a92;
/* rgb */ color: rgb(40, 26, 146);
/* oklch */ color: oklch(33.9% 0.182 275.9);
Tailwind
colors: {
  custom: {
    50: '#745ab3',
    500: '#281a92',
    950: '#000000',
  },
}
SCSS
$custom: #281a92;
$custom-light: #745ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#281a92",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 247,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.18154,
    "h": 275.9
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#281A92
secondary
#B2C048
accent
#ED3BD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281A92

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

Preview Lab → · Contrast checker → · Palette generator →

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