#281E66#281E66

#281E66 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.120 H 282.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#281E66
RGBrgb(40, 30, 102)
HSLhsl(248, 55%, 26%)
HSVhsv(248, 71%, 40%)
CMYKcmyk(60.8%, 70.6%, 0%, 60%)
CIE-LABlab(17.17, 27.03, -40.84)
CIE-LCHlch(17.17, 48.97, 303.50°)
OKLaboklab(29.75% 0.0262 -0.1175)
OKLCHoklch(29.75% 0.12 282.6)
XYZxyz(3.7369, 2.3387, 12.8223)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E66 #5C661E
analogous
#1E3866 #281E66 #4C1E66
triadic
#281E66 #66281E #1E6628
tetradic
#281E66 #661E38 #5C661E #1E664C
square
#281E66 #661E38 #5C661E #1E664C
split-complementary
#281E66 #664C1E #38661E
monochromatic
#090718 #151037 #281E66 #3B2C95 #4D3AC5

Accessibility & contrast

On white

14.31
#281E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E66
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E66#FFFFFF#000000##FFFFFF
##281E661.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002865
Tritanopia (blue-blind)
#06303F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281e66;
/* rgb */ color: rgb(40, 30, 102);
/* oklch */ color: oklch(29.7% 0.120 282.6);
Tailwind
colors: {
  custom: {
    50: '#6a5a92',
    500: '#281e66',
    950: '#000000',
  },
}
SCSS
$custom: #281e66;
$custom-light: #6a5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#281e66",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 248.333,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.12036,
    "h": 282.6
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#281E66
secondary
#8F9B45
accent
#DE4AC9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281E66

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

Preview Lab → · Contrast checker → · Palette generator →

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