#281E61#281E61

#281E61 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.3% C 0.113 H 283.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#281E61
RGBrgb(40, 30, 97)
HSLhsl(249, 53%, 25%)
HSVhsv(249, 69%, 38%)
CMYKcmyk(58.8%, 69.1%, 0%, 62%)
CIE-LABlab(16.71, 25.29, -38.29)
CIE-LCHlch(16.71, 45.89, 303.44°)
OKLaboklab(29.27% 0.0268 -0.11)
OKLCHoklch(29.27% 0.113 283.7)
XYZxyz(3.4964, 2.2425, 11.5556)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E61 #57611E
analogous
#1E3661 #281E61 #491E61
triadic
#281E61 #61281E #1E6128
tetradic
#281E61 #611E36 #57611E #1E6149
square
#281E61 #611E36 #57611E #1E6149
split-complementary
#281E61 #61491E #36611E
monochromatic
#0A0717 #151032 #281E61 #3B2C90 #4F3BBE

Accessibility & contrast

On white

14.50
#281E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E61
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E61#FFFFFF#000000##FFFFFF
##281E611.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#0E2F3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281e61;
/* rgb */ color: rgb(40, 30, 97);
/* oklch */ color: oklch(29.3% 0.113 283.7);
Tailwind
colors: {
  custom: {
    50: '#695a8f',
    500: '#281e61',
    950: '#000000',
  },
}
SCSS
$custom: #281e61;
$custom-light: #695a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#281e61",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 248.955,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29271,
    "c": 0.11324,
    "h": 283.7
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#281E61
secondary
#8A9645
accent
#DC4CC7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #281E61

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

Preview Lab → · Contrast checker → · Palette generator →

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