#281E60#281E60

#281E60 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.2% C 0.112 H 284.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#281E60
RGBrgb(40, 30, 96)
HSLhsl(249, 52%, 25%)
HSVhsv(249, 69%, 38%)
CMYKcmyk(58.3%, 68.7%, 0%, 62.4%)
CIE-LABlab(16.62, 24.94, -37.78)
CIE-LCHlch(16.62, 45.27, 303.43°)
OKLaboklab(29.18% 0.027 -0.1085)
OKLCHoklch(29.18% 0.112 284)
XYZxyz(3.4500, 2.2240, 11.3115)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E60 #56601E
analogous
#1E3560 #281E60 #491E60
triadic
#281E60 #60281E #1E6028
tetradic
#281E60 #601E35 #56601E #1E6049
square
#281E60 #601E35 #56601E #1E6049
split-complementary
#281E60 #60491E #35601E
monochromatic
#0A0717 #150F31 #281E60 #3B2D8F #4F3BBD

Accessibility & contrast

On white

14.53
#281E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E60
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E60#FFFFFF#000000##FFFFFF
##281E601.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#0F2E3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281e60;
/* rgb */ color: rgb(40, 30, 96);
/* oklch */ color: oklch(29.2% 0.112 284.0);
Tailwind
colors: {
  custom: {
    50: '#685a8e',
    500: '#281e60',
    950: '#000000',
  },
}
SCSS
$custom: #281e60;
$custom-light: #685a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#281e60",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 249.091,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29177,
    "c": 0.1118,
    "h": 284
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#281E60
secondary
#899545
accent
#DC4CC6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #281E60

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

Preview Lab → · Contrast checker → · Palette generator →

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