#281C68#281C68

#281C68 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.126 H 282.7°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#281C68
RGBrgb(40, 28, 104)
HSLhsl(249, 58%, 26%)
HSVhsv(249, 73%, 41%)
CMYKcmyk(61.5%, 73.1%, 0%, 59.2%)
CIE-LABlab(16.90, 28.99, -42.60)
CIE-LCHlch(16.90, 51.53, 304.24°)
OKLaboklab(29.61% 0.0278 -0.1227)
OKLCHoklch(29.61% 0.126 282.7)
XYZxyz(3.7882, 2.2809, 13.3346)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C68 #5C681C
analogous
#1C3668 #281C68 #4E1C68
triadic
#281C68 #68281C #1C6828
tetradic
#281C68 #681C36 #5C681C #1C684E
square
#281C68 #681C36 #5C681C #1C684E
split-complementary
#281C68 #684E1C #36681C
monochromatic
#090618 #150F38 #281C68 #3B2998 #4D36C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##281C68#FFFFFF#000000##FFFFFF
##281C681.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)
#002C6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#03303F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281c68;
/* rgb */ color: rgb(40, 28, 104);
/* oklch */ color: oklch(29.6% 0.126 282.7);
Tailwind
colors: {
  custom: {
    50: '#6a5994',
    500: '#281c68',
    950: '#000000',
  },
}
SCSS
$custom: #281c68;
$custom-light: #6a5994;
$custom-dark: #000000;
JSON
{
  "hex": "#281c68",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 249.474,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29609,
    "c": 0.12576,
    "h": 282.7
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#281C68
secondary
#8F9D43
accent
#E147C9
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C68

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

Preview Lab → · Contrast checker → · Palette generator →

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