#281E5E#281E5E

#281E5E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.109 H 284.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#281E5E
RGBrgb(40, 30, 94)
HSLhsl(249, 52%, 24%)
HSVhsv(249, 68%, 37%)
CMYKcmyk(57.4%, 68.1%, 0%, 63.1%)
CIE-LABlab(16.44, 24.25, -36.74)
CIE-LCHlch(16.44, 44.02, 303.42°)
OKLaboklab(28.99% 0.0272 -0.1054)
OKLCHoklch(28.99% 0.109 284.5)
XYZxyz(3.3591, 2.1876, 10.8328)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E5E #545E1E
analogous
#1E345E #281E5E #481E5E
triadic
#281E5E #5E281E #1E5E28
tetradic
#281E5E #5E1E34 #545E1E #1E5E48
square
#281E5E #5E1E34 #545E1E #1E5E48
split-complementary
#281E5E #5E481E #345E1E
monochromatic
#0A0717 #140F30 #281E5E #3C2D8C #4F3CBB

Accessibility & contrast

On white

14.61
#281E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E5E
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E5E#FFFFFF#000000##FFFFFF
##281E5E1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#112E3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281e5e;
/* rgb */ color: rgb(40, 30, 94);
/* oklch */ color: oklch(29.0% 0.109 284.5);
Tailwind
colors: {
  custom: {
    50: '#685a8c',
    500: '#281e5e',
    950: '#000000',
  },
}
SCSS
$custom: #281e5e;
$custom-light: #685a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#281e5e",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 249.375,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28992,
    "c": 0.1089,
    "h": 284.5
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#281E5E
secondary
#879345
accent
#DB4DC5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #281E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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