#281894#281894

#281894 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.186 H 275.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#281894
RGBrgb(40, 24, 148)
HSLhsl(248, 72%, 34%)
HSVhsv(248, 84%, 58%)
CMYKcmyk(73%, 83.8%, 0%, 42%)
CIE-LABlab(20.99, 45.51, -63.85)
CIE-LCHlch(20.99, 78.41, 305.48°)
OKLaboklab(33.92% 0.0187 -0.1846)
OKLCHoklch(33.92% 0.186 275.8)
XYZxyz(6.5452, 3.2419, 28.2920)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281894 #849418
analogous
#184694 #281894 #661894
triadic
#281894 #942818 #189428
tetradic
#281894 #941846 #849418 #189466
square
#281894 #941846 #849418 #189466
split-complementary
#281894 #946618 #469418
monochromatic
#0C072B #1A0F5F #281894 #3621C9 #5A45E1

Accessibility & contrast

On white

12.74
#281894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#281894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281894
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281894#FFFFFF#000000##FFFFFF
##2818941.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #281894;
/* rgb */ color: rgb(40, 24, 148);
/* oklch */ color: oklch(33.9% 0.186 275.8);
Tailwind
colors: {
  custom: {
    50: '#755ab5',
    500: '#281894',
    950: '#000000',
  },
}
SCSS
$custom: #281894;
$custom-light: #755ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#281894",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 247.742,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33922,
    "c": 0.18551,
    "h": 275.8
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#281894
secondary
#B2C246
accent
#EF39D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #281894

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

Preview Lab → · Contrast checker → · Palette generator →

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