#281E63#281E63

#281E63 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.5% C 0.116 H 283.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#281E63
RGBrgb(40, 30, 99)
HSLhsl(249, 53%, 25%)
HSVhsv(249, 70%, 39%)
CMYKcmyk(59.6%, 69.7%, 0%, 61.2%)
CIE-LABlab(16.89, 25.99, -39.32)
CIE-LCHlch(16.89, 47.13, 303.46°)
OKLaboklab(29.46% 0.0266 -0.113)
OKLCHoklch(29.46% 0.116 283.2)
XYZxyz(3.5908, 2.2803, 12.0529)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E63 #59631E
analogous
#1E3663 #281E63 #4A1E63
triadic
#281E63 #63281E #1E6328
tetradic
#281E63 #631E36 #59631E #1E634A
square
#281E63 #631E36 #59631E #1E634A
split-complementary
#281E63 #634A1E #36631E
monochromatic
#090717 #151034 #281E63 #3B2C92 #4E3AC1

Accessibility & contrast

On white

14.42
#281E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E63
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E63#FFFFFF#000000##FFFFFF
##281E631.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#0B2F3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281e63;
/* rgb */ color: rgb(40, 30, 99);
/* oklch */ color: oklch(29.5% 0.116 283.2);
Tailwind
colors: {
  custom: {
    50: '#695a90',
    500: '#281e63',
    950: '#000000',
  },
}
SCSS
$custom: #281e63;
$custom-light: #695a90;
$custom-dark: #000000;
JSON
{
  "hex": "#281e63",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 248.696,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2946,
    "c": 0.11611,
    "h": 283.2
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#281E63
secondary
#8C9845
accent
#DD4BC8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #281E63

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

Preview Lab → · Contrast checker → · Palette generator →

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