#281E67#281E67

#281E67 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.122 H 282.3°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#281E67
RGBrgb(40, 30, 103)
HSLhsl(248, 55%, 26%)
HSVhsv(248, 71%, 40%)
CMYKcmyk(61.2%, 70.9%, 0%, 59.6%)
CIE-LABlab(17.27, 27.38, -41.34)
CIE-LCHlch(17.27, 49.58, 303.52°)
OKLaboklab(29.85% 0.026 -0.119)
OKLCHoklch(29.85% 0.122 282.3)
XYZxyz(3.7868, 2.3587, 13.0851)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E67 #5D671E
analogous
#1E3867 #281E67 #4C1E67
triadic
#281E67 #67281E #1E6728
tetradic
#281E67 #671E38 #5D671E #1E674C
square
#281E67 #671E38 #5D671E #1E674C
split-complementary
#281E67 #674C1E #38671E
monochromatic
#090718 #161038 #281E67 #3A2C96 #4D3AC6

Accessibility & contrast

On white

14.27
#281E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E67
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E67#FFFFFF#000000##FFFFFF
##281E671.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#05313F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281e67;
/* rgb */ color: rgb(40, 30, 103);
/* oklch */ color: oklch(29.8% 0.122 282.3);
Tailwind
colors: {
  custom: {
    50: '#6a5a93',
    500: '#281e67',
    950: '#000000',
  },
}
SCSS
$custom: #281e67;
$custom-light: #6a5a93;
$custom-dark: #000000;
JSON
{
  "hex": "#281e67",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 248.219,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29845,
    "c": 0.12177,
    "h": 282.3
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#281E67
secondary
#909C45
accent
#DE4ACA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281E67

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

Preview Lab → · Contrast checker → · Palette generator →

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