#281D67#281D67

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

Color values

HEX#281D67
RGBrgb(40, 29, 103)
HSLhsl(249, 56%, 26%)
HSVhsv(249, 72%, 40%)
CMYKcmyk(61.2%, 71.8%, 0%, 59.6%)
CIE-LABlab(17.03, 28.02, -41.73)
CIE-LCHlch(17.03, 50.26, 303.88°)
OKLaboklab(29.68% 0.027 -0.1201)
OKLCHoklch(29.68% 0.123 282.7)
XYZxyz(3.7619, 2.3089, 13.0768)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D67 #5C671D
analogous
#1D3767 #281D67 #4D1D67
triadic
#281D67 #67281D #1D6728
tetradic
#281D67 #671D37 #5C671D #1D674D
square
#281D67 #671D37 #5C671D #1D674D
split-complementary
#281D67 #674D1D #37671D
monochromatic
#090718 #151037 #281D67 #3B2A97 #4D38C7

Accessibility & contrast

On white

14.37
#281D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#281D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281D67
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D67#FFFFFF#000000##FFFFFF
##281D671.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#05303F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281d67;
/* rgb */ color: rgb(40, 29, 103);
/* oklch */ color: oklch(29.7% 0.123 282.7);
Tailwind
colors: {
  custom: {
    50: '#6a5a93',
    500: '#281d67',
    950: '#000000',
  },
}
SCSS
$custom: #281d67;
$custom-light: #6a5a93;
$custom-dark: #000000;
JSON
{
  "hex": "#281d67",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 248.919,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29675,
    "c": 0.12309,
    "h": 282.7
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#281D67
secondary
#8F9C44
accent
#DF48C9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281D67

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

Preview Lab → · Contrast checker → · Palette generator →

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