#281C65#281C65

#281C65 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.122 H 283.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#281C65
RGBrgb(40, 28, 101)
HSLhsl(250, 57%, 25%)
HSVhsv(250, 72%, 40%)
CMYKcmyk(60.4%, 72.3%, 0%, 60.4%)
CIE-LABlab(16.61, 27.97, -41.10)
CIE-LCHlch(16.61, 49.72, 304.23°)
OKLaboklab(29.31% 0.0283 -0.1183)
OKLCHoklch(29.31% 0.122 283.4)
XYZxyz(3.6386, 2.2210, 12.5464)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C65 #59651C
analogous
#1C3465 #281C65 #4C1C65
triadic
#281C65 #65281C #1C6528
tetradic
#281C65 #651C34 #59651C #1C654C
square
#281C65 #651C34 #59651C #1C654C
split-complementary
#281C65 #654C1C #34651C
monochromatic
#090718 #150F35 #281C65 #3B2995 #4E37C5

Accessibility & contrast

On white

14.54
#281C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C65
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C65#FFFFFF#000000##FFFFFF
##281C651.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#082F3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281c65;
/* rgb */ color: rgb(40, 28, 101);
/* oklch */ color: oklch(29.3% 0.122 283.4);
Tailwind
colors: {
  custom: {
    50: '#6a5992',
    500: '#281c65',
    950: '#000000',
  },
}
SCSS
$custom: #281c65;
$custom-light: #6a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#281c65",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 249.863,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29311,
    "c": 0.1216,
    "h": 283.4
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#281C65
secondary
#8C9A43
accent
#E048C7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C65

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

Preview Lab → · Contrast checker → · Palette generator →

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