#281E70#281E70

#281E70 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.134 H 280.5°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#281E70
RGBrgb(40, 30, 112)
HSLhsl(247, 58%, 28%)
HSVhsv(247, 73%, 44%)
CMYKcmyk(64.3%, 73.2%, 0%, 56.1%)
CIE-LABlab(18.14, 30.50, -45.78)
CIE-LCHlch(18.14, 55.01, 303.67°)
OKLaboklab(30.74% 0.0245 -0.132)
OKLCHoklch(30.74% 0.134 280.5)
XYZxyz(4.2631, 2.5492, 15.5935)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E70 #66701E
analogous
#1E3D70 #281E70 #511E70
triadic
#281E70 #70281E #1E7028
tetradic
#281E70 #701E3D #66701E #1E7051
square
#281E70 #701E3D #66701E #1E7051
split-complementary
#281E70 #70511E #3D701E
monochromatic
#090618 #171140 #281E70 #392BA0 #4F3DCB

Accessibility & contrast

On white

13.91
#281E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#281E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E70
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E70#FFFFFF#000000##FFFFFF
##281E701.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281e70;
/* rgb */ color: rgb(40, 30, 112);
/* oklch */ color: oklch(30.7% 0.134 280.5);
Tailwind
colors: {
  custom: {
    50: '#6c5b9a',
    500: '#281e70',
    950: '#000000',
  },
}
SCSS
$custom: #281e70;
$custom-light: #6c5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#281e70",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 247.317,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3074,
    "c": 0.13422,
    "h": 280.5
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#281E70
secondary
#99A446
accent
#E147CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #281E70

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

Preview Lab → · Contrast checker → · Palette generator →

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