#281A70#281A70

#281A70 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.139 H 281.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#281A70
RGBrgb(40, 26, 112)
HSLhsl(250, 62%, 27%)
HSVhsv(250, 77%, 44%)
CMYKcmyk(64.3%, 76.8%, 0%, 56.1%)
CIE-LABlab(17.27, 32.91, -47.20)
CIE-LCHlch(17.27, 57.55, 304.89°)
OKLaboklab(30.12% 0.0277 -0.1361)
OKLCHoklch(30.12% 0.139 281.5)
XYZxyz(4.1682, 2.3595, 15.5619)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A70 #62701A
analogous
#1A3770 #281A70 #531A70
triadic
#281A70 #70281A #1A7028
tetradic
#281A70 #701A37 #62701A #1A7053
square
#281A70 #701A37 #62701A #1A7053
split-complementary
#281A70 #70531A #37701A
monochromatic
#090619 #160E3E #281A70 #3A26A2 #4E34D0

Accessibility & contrast

On white

14.27
#281A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#281A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A70
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A70#FFFFFF#000000##FFFFFF
##281A701.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281a70;
/* rgb */ color: rgb(40, 26, 112);
/* oklch */ color: oklch(30.1% 0.139 281.5);
Tailwind
colors: {
  custom: {
    50: '#6c589a',
    500: '#281a70',
    950: '#000000',
  },
}
SCSS
$custom: #281a70;
$custom-light: #6c589a;
$custom-dark: #000000;
JSON
{
  "hex": "#281a70",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 249.767,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.13891,
    "h": 281.5
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#281A70
secondary
#95A541
accent
#E542CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #281A70

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

Preview Lab → · Contrast checker → · Palette generator →

#281A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva