#281EA8#281EA8

#281EA8 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.204 H 273.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#281EA8
RGBrgb(40, 30, 168)
HSLhsl(244, 70%, 39%)
HSVhsv(244, 82%, 66%)
CMYKcmyk(76.2%, 82.1%, 0%, 34.1%)
CIE-LABlab(24.34, 48.88, -70.52)
CIE-LCHlch(24.34, 85.80, 304.72°)
OKLaboklab(36.93% 0.0112 -0.204)
OKLCHoklch(36.93% 0.204 273.1)
XYZxyz(8.4049, 4.2059, 37.4071)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281EA8 #9EA81E
analogous
#1E59A8 #281EA8 #6D1EA8
triadic
#281EA8 #A8281E #1EA828
tetradic
#281EA8 #A81E59 #9EA81E #1EA86D
square
#281EA8 #A81E59 #9EA81E #1EA86D
split-complementary
#281EA8 #A86D1E #59A81E
monochromatic
#0F0B40 #1C1574 #281EA8 #372AD9 #685EE2

Accessibility & contrast

On white

11.40
#281EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#281EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281EA8
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281EA8#FFFFFF#000000##FFFFFF
##281EA81.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #281ea8;
/* rgb */ color: rgb(40, 30, 168);
/* oklch */ color: oklch(36.9% 0.204 273.1);
Tailwind
colors: {
  custom: {
    50: '#795ec3',
    500: '#281ea8',
    950: '#000000',
  },
}
SCSS
$custom: #281ea8;
$custom-light: #795ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#281ea8",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 244.348,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36934,
    "c": 0.20432,
    "h": 273.1
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#281EA8
secondary
#BFC75B
accent
#ED3BE0
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #281EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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