#281E64#281E64

#281E64 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.6% C 0.118 H 283.0°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#281E64
RGBrgb(40, 30, 100)
HSLhsl(249, 54%, 25%)
HSVhsv(249, 70%, 39%)
CMYKcmyk(60%, 70%, 0%, 60.8%)
CIE-LABlab(16.99, 26.34, -39.82)
CIE-LCHlch(16.99, 47.74, 303.48°)
OKLaboklab(29.56% 0.0265 -0.1145)
OKLCHoklch(29.56% 0.118 283)
XYZxyz(3.6389, 2.2995, 12.3062)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E64 #5A641E
analogous
#1E3764 #281E64 #4B1E64
triadic
#281E64 #64281E #1E6428
tetradic
#281E64 #641E37 #5A641E #1E644B
square
#281E64 #641E37 #5A641E #1E644B
split-complementary
#281E64 #644B1E #37641E
monochromatic
#090718 #151035 #281E64 #3B2C93 #4E3AC2

Accessibility & contrast

On white

14.38
#281E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E64
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E64#FFFFFF#000000##FFFFFF
##281E641.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#09303E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281e64;
/* rgb */ color: rgb(40, 30, 100);
/* oklch */ color: oklch(29.6% 0.118 283.0);
Tailwind
colors: {
  custom: {
    50: '#695a91',
    500: '#281e64',
    950: '#000000',
  },
}
SCSS
$custom: #281e64;
$custom-light: #695a91;
$custom-dark: #000000;
JSON
{
  "hex": "#281e64",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 248.571,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29556,
    "c": 0.11753,
    "h": 283
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#281E64
secondary
#8D9945
accent
#DD4BC8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281E64

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

Preview Lab → · Contrast checker → · Palette generator →

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