#281C75#281C75

#281C75 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.143 H 280.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#281C75
RGBrgb(40, 28, 117)
HSLhsl(248, 61%, 28%)
HSVhsv(248, 76%, 46%)
CMYKcmyk(65.8%, 76.1%, 0%, 54.1%)
CIE-LABlab(18.21, 33.42, -48.88)
CIE-LCHlch(18.21, 59.21, 304.36°)
OKLaboklab(30.95% 0.025 -0.141)
OKLCHoklch(30.95% 0.143 280.1)
XYZxyz(4.5002, 2.5656, 17.0842)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C75 #69751C
analogous
#1C3C75 #281C75 #541C75
triadic
#281C75 #75281C #1C7528
tetradic
#281C75 #751C3C #69751C #1C7554
square
#281C75 #751C3C #69751C #1C7554
split-complementary
#281C75 #75541C #3C751C
monochromatic
#080619 #171044 #281C75 #3928A6 #4F3BD0

Accessibility & contrast

On white

13.88
#281C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281C75
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C75#FFFFFF#000000##FFFFFF
##281C751.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281c75;
/* rgb */ color: rgb(40, 28, 117);
/* oklch */ color: oklch(30.9% 0.143 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d5a9e',
    500: '#281c75',
    950: '#000000',
  },
}
SCSS
$custom: #281c75;
$custom-light: #6d5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#281c75",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 248.09,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30947,
    "c": 0.14325,
    "h": 280.1
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#281C75
secondary
#9CA944
accent
#E443CF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #281C75

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

Preview Lab → · Contrast checker → · Palette generator →

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