#281E83#281E83

#281E83 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.159 H 277.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#281E83
RGBrgb(40, 30, 131)
HSLhsl(246, 63%, 32%)
HSVhsv(246, 77%, 51%)
CMYKcmyk(69.5%, 77.1%, 0%, 48.6%)
CIE-LABlab(20.12, 36.96, -54.67)
CIE-LCHlch(20.12, 65.99, 304.06°)
OKLaboklab(32.74% 0.0204 -0.1579)
OKLCHoklch(32.74% 0.159 277.4)
XYZxyz(5.4347, 3.0179, 21.7644)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E83 #79831E
analogous
#1E4783 #281E83 #5B1E83
triadic
#281E83 #83281E #1E8328
tetradic
#281E83 #831E47 #79831E #1E835B
square
#281E83 #831E47 #79831E #1E835B
split-complementary
#281E83 #835B1E #47831E
monochromatic
#0A071F #191351 #281E83 #3729B5 #5547D5

Accessibility & contrast

On white

13.10
#281E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#281E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E83
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E83#FFFFFF#000000##FFFFFF
##281E831.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #281e83;
/* rgb */ color: rgb(40, 30, 131);
/* oklch */ color: oklch(32.7% 0.159 277.4);
Tailwind
colors: {
  custom: {
    50: '#705ca8',
    500: '#281e83',
    950: '#000000',
  },
}
SCSS
$custom: #281e83;
$custom-light: #705ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#281e83",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 245.941,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.15927,
    "h": 277.4
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#281E83
secondary
#ABB647
accent
#E642D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #281E83

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

Preview Lab → · Contrast checker → · Palette generator →

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