#281C6E#281C6E

#281C6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.134 H 281.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#281C6E
RGBrgb(40, 28, 110)
HSLhsl(249, 59%, 27%)
HSVhsv(249, 75%, 43%)
CMYKcmyk(63.6%, 74.5%, 0%, 56.9%)
CIE-LABlab(17.49, 31.04, -45.54)
CIE-LCHlch(17.49, 55.11, 304.28°)
OKLaboklab(30.22% 0.0266 -0.1313)
OKLCHoklch(30.22% 0.134 281.4)
XYZxyz(4.1039, 2.4071, 14.9972)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C6E #626E1C
analogous
#1C396E #281C6E #511C6E
triadic
#281C6E #6E281C #1C6E28
tetradic
#281C6E #6E1C39 #626E1C #1C6E51
square
#281C6E #6E1C39 #626E1C #1C6E51
split-complementary
#281C6E #6E511C #396E1C
monochromatic
#090618 #16103D #281C6E #3A289F #4E38CC

Accessibility & contrast

On white

14.18
#281C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#281C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C6E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C6E#FFFFFF#000000##FFFFFF
##281C6E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281c6e;
/* rgb */ color: rgb(40, 28, 110);
/* oklch */ color: oklch(30.2% 0.134 281.4);
Tailwind
colors: {
  custom: {
    50: '#6b5998',
    500: '#281c6e',
    950: '#000000',
  },
}
SCSS
$custom: #281c6e;
$custom-light: #6b5998;
$custom-dark: #000000;
JSON
{
  "hex": "#281c6e",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 248.78,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.13393,
    "h": 281.4
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#281C6E
secondary
#95A343
accent
#E345CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #281C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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