#281889#281889

#281889 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.172 H 277.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#281889
RGBrgb(40, 24, 137)
HSLhsl(248, 70%, 32%)
HSVhsv(248, 82%, 54%)
CMYKcmyk(70.8%, 82.5%, 0%, 46.3%)
CIE-LABlab(19.68, 42.10, -59.17)
CIE-LCHlch(19.68, 72.61, 305.43°)
OKLaboklab(32.64% 0.022 -0.171)
OKLCHoklch(32.64% 0.172 277.3)
XYZxyz(5.7156, 2.9100, 23.9225)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281889 #798918
analogous
#184189 #281889 #611889
triadic
#281889 #892818 #188928
tetradic
#281889 #891841 #798918 #188961
square
#281889 #891841 #798918 #188961
split-complementary
#281889 #896118 #418918
monochromatic
#0A0621 #190F55 #281889 #3721BD #553EDD

Accessibility & contrast

On white

13.27
#281889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#281889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281889
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281889#FFFFFF#000000##FFFFFF
##2818891.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281889;
/* rgb */ color: rgb(40, 24, 137);
/* oklch */ color: oklch(32.6% 0.172 277.3);
Tailwind
colors: {
  custom: {
    50: '#7259ad',
    500: '#281889',
    950: '#000000',
  },
}
SCSS
$custom: #281889;
$custom-light: #7259ad;
$custom-dark: #000000;
JSON
{
  "hex": "#281889",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 248.496,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32636,
    "c": 0.17237,
    "h": 277.3
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#281889
secondary
#ABBD40
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281889

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

Preview Lab → · Contrast checker → · Palette generator →

#281889 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva