#281C6B#281C6B

#281C6B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.130 H 282.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#281C6B
RGBrgb(40, 28, 107)
HSLhsl(249, 59%, 26%)
HSVhsv(249, 74%, 42%)
CMYKcmyk(62.6%, 73.8%, 0%, 58%)
CIE-LABlab(17.19, 30.02, -44.08)
CIE-LCHlch(17.19, 53.33, 304.26°)
OKLaboklab(29.91% 0.0272 -0.127)
OKLCHoklch(29.91% 0.13 282.1)
XYZxyz(3.9433, 2.3429, 14.1515)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C6B #5F6B1C
analogous
#1C386B #281C6B #501C6B
triadic
#281C6B #6B281C #1C6B28
tetradic
#281C6B #6B1C38 #5F6B1C #1C6B50
square
#281C6B #6B1C38 #5F6B1C #1C6B50
split-complementary
#281C6B #6B501C #386B1C
monochromatic
#090618 #160F3A #281C6B #3A299C #4D37CB

Accessibility & contrast

On white

14.30
#281C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#281C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C6B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C6B#FFFFFF#000000##FFFFFF
##281C6B1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281c6b;
/* rgb */ color: rgb(40, 28, 107);
/* oklch */ color: oklch(29.9% 0.130 282.1);
Tailwind
colors: {
  custom: {
    50: '#6b5996',
    500: '#281c6b',
    950: '#000000',
  },
}
SCSS
$custom: #281c6b;
$custom-light: #6b5996;
$custom-dark: #000000;
JSON
{
  "hex": "#281c6b",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 249.114,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.12986,
    "h": 282.1
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#281C6B
secondary
#92A043
accent
#E246CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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