#281E6E#281E6E

#281E6E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.131 H 280.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#281E6E
RGBrgb(40, 30, 110)
HSLhsl(248, 57%, 27%)
HSVhsv(248, 73%, 43%)
CMYKcmyk(63.6%, 72.7%, 0%, 56.9%)
CIE-LABlab(17.94, 29.80, -44.80)
CIE-LCHlch(17.94, 53.81, 303.63°)
OKLaboklab(30.54% 0.0249 -0.1291)
OKLCHoklch(30.54% 0.131 280.9)
XYZxyz(4.1529, 2.5052, 15.0135)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E6E #646E1E
analogous
#1E3C6E #281E6E #501E6E
triadic
#281E6E #6E281E #1E6E28
tetradic
#281E6E #6E1E3C #646E1E #1E6E50
square
#281E6E #6E1E3C #646E1E #1E6E50
split-complementary
#281E6E #6E501E #3C6E1E
monochromatic
#090718 #17113E #281E6E #392B9E #4E3CCA

Accessibility & contrast

On white

13.99
#281E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E6E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E6E#FFFFFF#000000##FFFFFF
##281E6E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281e6e;
/* rgb */ color: rgb(40, 30, 110);
/* oklch */ color: oklch(30.5% 0.131 280.9);
Tailwind
colors: {
  custom: {
    50: '#6b5b98',
    500: '#281e6e',
    950: '#000000',
  },
}
SCSS
$custom: #281e6e;
$custom-light: #6b5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#281e6e",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 247.5,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30538,
    "c": 0.13149,
    "h": 280.9
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#281E6E
secondary
#97A246
accent
#E047CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #281E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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