#281C69#281C69

#281C69 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.127 H 282.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#281C69
RGBrgb(40, 28, 105)
HSLhsl(249, 58%, 26%)
HSVhsv(249, 73%, 41%)
CMYKcmyk(61.9%, 73.3%, 0%, 58.8%)
CIE-LABlab(17.00, 29.34, -43.10)
CIE-LCHlch(17.00, 52.13, 304.24°)
OKLaboklab(29.71% 0.0276 -0.1241)
OKLCHoklch(29.71% 0.127 282.5)
XYZxyz(3.8393, 2.3013, 13.6037)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C69 #5D691C
analogous
#1C3669 #281C69 #4E1C69
triadic
#281C69 #69281C #1C6928
tetradic
#281C69 #691C36 #5D691C #1C694E
square
#281C69 #691C36 #5D691C #1C694E
split-complementary
#281C69 #694E1C #36691C
monochromatic
#090618 #160F39 #281C69 #3A2999 #4D36C9

Accessibility & contrast

On white

14.38
#281C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#281C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C69
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C69#FFFFFF#000000##FFFFFF
##281C691.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#023040
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281c69;
/* rgb */ color: rgb(40, 28, 105);
/* oklch */ color: oklch(29.7% 0.127 282.5);
Tailwind
colors: {
  custom: {
    50: '#6a5995',
    500: '#281c69',
    950: '#000000',
  },
}
SCSS
$custom: #281c69;
$custom-light: #6a5995;
$custom-dark: #000000;
JSON
{
  "hex": "#281c69",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 249.351,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29709,
    "c": 0.12713,
    "h": 282.5
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#281C69
secondary
#909E43
accent
#E147C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281C69

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

Preview Lab → · Contrast checker → · Palette generator →

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