#281C67#281C67

#281C67 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.5% C 0.124 H 283.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#281C67
RGBrgb(40, 28, 103)
HSLhsl(250, 57%, 26%)
HSVhsv(250, 73%, 40%)
CMYKcmyk(61.2%, 72.8%, 0%, 59.6%)
CIE-LABlab(16.80, 28.65, -42.10)
CIE-LCHlch(16.80, 50.93, 304.24°)
OKLaboklab(29.51% 0.0279 -0.1212)
OKLCHoklch(29.51% 0.124 283)
XYZxyz(3.7378, 2.2607, 13.0687)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C67 #5B671C
analogous
#1C3567 #281C67 #4D1C67
triadic
#281C67 #67281C #1C6728
tetradic
#281C67 #671C35 #5B671C #1C674D
square
#281C67 #671C35 #5B671C #1C674D
split-complementary
#281C67 #674D1C #35671C
monochromatic
#090718 #150F37 #281C67 #3B2997 #4D36C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##281C67#FFFFFF#000000##FFFFFF
##281C671.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)
#002C69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#05303F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281c67;
/* rgb */ color: rgb(40, 28, 103);
/* oklch */ color: oklch(29.5% 0.124 283.0);
Tailwind
colors: {
  custom: {
    50: '#6a5993',
    500: '#281c67',
    950: '#000000',
  },
}
SCSS
$custom: #281c67;
$custom-light: #6a5993;
$custom-dark: #000000;
JSON
{
  "hex": "#281c67",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 249.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29509,
    "c": 0.12438,
    "h": 283
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#281C67
secondary
#8E9C43
accent
#E147C8
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C67

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

Preview Lab → · Contrast checker → · Palette generator →

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