#281890#281890

#281890 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.181 H 276.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#281890
RGBrgb(40, 24, 144)
HSLhsl(248, 71%, 33%)
HSVhsv(248, 83%, 56%)
CMYKcmyk(72.2%, 83.3%, 0%, 43.5%)
CIE-LABlab(20.51, 44.28, -62.17)
CIE-LCHlch(20.51, 76.32, 305.46°)
OKLaboklab(33.45% 0.0199 -0.1797)
OKLCHoklch(33.45% 0.181 276.3)
XYZxyz(6.2341, 3.1174, 26.6533)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281890 #809018
analogous
#184490 #281890 #641890
triadic
#281890 #902818 #189028
tetradic
#281890 #901844 #809018 #189064
square
#281890 #901844 #809018 #189064
split-complementary
#281890 #906418 #449018
monochromatic
#0B0727 #190F5C #281890 #3721C4 #5843E0

Accessibility & contrast

On white

12.93
#281890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#281890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281890
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281890#FFFFFF#000000##FFFFFF
##2818901.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281890;
/* rgb */ color: rgb(40, 24, 144);
/* oklch */ color: oklch(33.5% 0.181 276.3);
Tailwind
colors: {
  custom: {
    50: '#7459b2',
    500: '#281890',
    950: '#000000',
  },
}
SCSS
$custom: #281890;
$custom-light: #7459b2;
$custom-dark: #000000;
JSON
{
  "hex": "#281890",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 248,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33451,
    "c": 0.18077,
    "h": 276.3
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#281890
secondary
#B0C043
accent
#EE3AD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281890

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

Preview Lab → · Contrast checker → · Palette generator →

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