#281E6F#281E6F

#281E6F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.133 H 280.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#281E6F
RGBrgb(40, 30, 111)
HSLhsl(247, 57%, 28%)
HSVhsv(247, 73%, 44%)
CMYKcmyk(64%, 73%, 0%, 56.5%)
CIE-LABlab(18.04, 30.15, -45.29)
CIE-LCHlch(18.04, 54.41, 303.65°)
OKLaboklab(30.64% 0.0247 -0.1305)
OKLCHoklch(30.64% 0.133 280.7)
XYZxyz(4.2077, 2.5271, 15.3019)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E6F #656F1E
analogous
#1E3D6F #281E6F #501E6F
triadic
#281E6F #6F281E #1E6F28
tetradic
#281E6F #6F1E3D #656F1E #1E6F50
square
#281E6F #6F1E3D #656F1E #1E6F50
split-complementary
#281E6F #6F501E #3D6F1E
monochromatic
#090718 #17113F #281E6F #392B9F #4E3DCB

Accessibility & contrast

On white

13.95
#281E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#281E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E6F
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E6F#FFFFFF#000000##FFFFFF
##281E6F1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281e6f;
/* rgb */ color: rgb(40, 30, 111);
/* oklch */ color: oklch(30.6% 0.133 280.7);
Tailwind
colors: {
  custom: {
    50: '#6c5b99',
    500: '#281e6f',
    950: '#000000',
  },
}
SCSS
$custom: #281e6f;
$custom-light: #6c5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#281e6f",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 247.407,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30639,
    "c": 0.13285,
    "h": 280.7
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#281E6F
secondary
#98A346
accent
#E147CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #281E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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