#281E62#281E62

#281E62 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.115 H 283.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#281E62
RGBrgb(40, 30, 98)
HSLhsl(249, 53%, 25%)
HSVhsv(249, 69%, 38%)
CMYKcmyk(59.2%, 69.4%, 0%, 61.6%)
CIE-LABlab(16.80, 25.64, -38.80)
CIE-LCHlch(16.80, 46.51, 303.45°)
OKLaboklab(29.37% 0.0267 -0.1115)
OKLCHoklch(29.37% 0.115 283.5)
XYZxyz(3.5433, 2.2613, 11.8027)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E62 #58621E
analogous
#1E3662 #281E62 #4A1E62
triadic
#281E62 #62281E #1E6228
tetradic
#281E62 #621E36 #58621E #1E624A
square
#281E62 #621E36 #58621E #1E624A
split-complementary
#281E62 #624A1E #36621E
monochromatic
#0A0717 #151033 #281E62 #3B2C91 #4E3BC0

Accessibility & contrast

On white

14.46
#281E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E62
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E62#FFFFFF#000000##FFFFFF
##281E621.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#0C2F3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281e62;
/* rgb */ color: rgb(40, 30, 98);
/* oklch */ color: oklch(29.4% 0.115 283.5);
Tailwind
colors: {
  custom: {
    50: '#695a8f',
    500: '#281e62',
    950: '#000000',
  },
}
SCSS
$custom: #281e62;
$custom-light: #695a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#281e62",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 248.824,
    "s": 53.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29365,
    "c": 0.11468,
    "h": 283.5
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#281E62
secondary
#8B9745
accent
#DD4BC7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #281E62

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

Preview Lab → · Contrast checker → · Palette generator →

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