#281698#281698

#281698 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.192 H 275.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#281698
RGBrgb(40, 22, 152)
HSLhsl(248, 75%, 34%)
HSVhsv(248, 86%, 60%)
CMYKcmyk(73.7%, 85.5%, 0%, 40.4%)
CIE-LABlab(21.17, 47.61, -66.01)
CIE-LCHlch(21.17, 81.39, 305.80°)
OKLaboklab(34.19% 0.0182 -0.1908)
OKLCHoklch(34.19% 0.192 275.4)
XYZxyz(6.8276, 3.2913, 29.9751)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281698 #869816
analogous
#164598 #281698 #691698
triadic
#281698 #982816 #169828
tetradic
#281698 #981645 #869816 #169869
square
#281698 #981645 #869816 #169869
split-complementary
#281698 #986916 #459816
monochromatic
#0C072D #1A0E63 #281698 #361ECD #5B44E4

Accessibility & contrast

On white

12.66
#281698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#281698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281698
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281698#FFFFFF#000000##FFFFFF
##2816981.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389B
Deuteranopia (green-blind)
#002D96
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #281698;
/* rgb */ color: rgb(40, 22, 152);
/* oklch */ color: oklch(34.2% 0.192 275.4);
Tailwind
colors: {
  custom: {
    50: '#7659b8',
    500: '#281698',
    950: '#000000',
  },
}
SCSS
$custom: #281698;
$custom-light: #7659b8;
$custom-dark: #000000;
JSON
{
  "hex": "#281698",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 152
  },
  "hsl": {
    "h": 248.308,
    "s": 74.713,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.19166,
    "h": 275.4
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#281698
secondary
#B3C545
accent
#F136D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #281698

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

Preview Lab → · Contrast checker → · Palette generator →

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