#281B90#281B90

#281B90 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.178 H 276.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#281B90
RGBrgb(40, 27, 144)
HSLhsl(247, 68%, 34%)
HSVhsv(247, 81%, 56%)
CMYKcmyk(72.2%, 81.3%, 0%, 43.5%)
CIE-LABlab(21.01, 42.81, -61.33)
CIE-LCHlch(21.01, 74.80, 304.92°)
OKLaboklab(33.8% 0.0187 -0.1773)
OKLCHoklch(33.8% 0.178 276)
XYZxyz(6.2994, 3.2480, 26.6751)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B90 #83901B
analogous
#1B4890 #281B90 #621B90
triadic
#281B90 #90281B #1B9028
tetradic
#281B90 #901B48 #83901B #1B9062
square
#281B90 #901B48 #83901B #1B9062
split-complementary
#281B90 #90621B #48901B
monochromatic
#0B0829 #1A115C #281B90 #3625C4 #5949DD

Accessibility & contrast

On white

12.73
#281B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281B90
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B90#FFFFFF#000000##FFFFFF
##281B901.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281b90;
/* rgb */ color: rgb(40, 27, 144);
/* oklch */ color: oklch(33.8% 0.178 276.0);
Tailwind
colors: {
  custom: {
    50: '#735bb2',
    500: '#281b90',
    950: '#000000',
  },
}
SCSS
$custom: #281b90;
$custom-light: #735bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#281b90",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 246.667,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.338,
    "c": 0.17828,
    "h": 276
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#281B90
secondary
#B1BF48
accent
#EB3DD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281B90

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

Preview Lab → · Contrast checker → · Palette generator →

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