#281685#281685

#281685 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.169 H 278.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#281685
RGBrgb(40, 22, 133)
HSLhsl(250, 72%, 30%)
HSVhsv(250, 83%, 52%)
CMYKcmyk(69.9%, 83.5%, 0%, 47.8%)
CIE-LABlab(18.88, 41.82, -57.98)
CIE-LCHlch(18.88, 71.49, 305.80°)
OKLaboklab(31.94% 0.0242 -0.1675)
OKLCHoklch(31.94% 0.169 278.2)
XYZxyz(5.3943, 2.7179, 22.4261)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281685 #738516
analogous
#163B85 #281685 #601685
triadic
#281685 #852816 #168528
tetradic
#281685 #85163B #738516 #168560
square
#281685 #85163B #738516 #168560
split-complementary
#281685 #856016 #3B8516
monochromatic
#08051C #180D50 #281685 #381FBA #5237DE

Accessibility & contrast

On white

13.60
#281685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#281685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281685
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281685#FFFFFF#000000##FFFFFF
##2816851.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #281685;
/* rgb */ color: rgb(40, 22, 133);
/* oklch */ color: oklch(31.9% 0.169 278.2);
Tailwind
colors: {
  custom: {
    50: '#7157aa',
    500: '#281685',
    950: '#000000',
  },
}
SCSS
$custom: #281685;
$custom-light: #7157aa;
$custom-dark: #000000;
JSON
{
  "hex": "#281685",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 249.73,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31942,
    "c": 0.16921,
    "h": 278.2
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#281685
secondary
#A5B93E
accent
#EE39D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281685

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

Preview Lab → · Contrast checker → · Palette generator →

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