#281A75#281A75

#281A75 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.145 H 280.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#281A75
RGBrgb(40, 26, 117)
HSLhsl(249, 64%, 28%)
HSVhsv(249, 78%, 46%)
CMYKcmyk(65.8%, 77.8%, 0%, 54.1%)
CIE-LABlab(17.80, 34.58, -49.56)
CIE-LCHlch(17.80, 60.43, 304.90°)
OKLaboklab(30.65% 0.0265 -0.143)
OKLCHoklch(30.65% 0.145 280.5)
XYZxyz(4.4543, 2.4739, 17.0690)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A75 #67751A
analogous
#1A3975 #281A75 #551A75
triadic
#281A75 #75281A #1A7528
tetradic
#281A75 #751A39 #67751A #1A7555
square
#281A75 #751A39 #67751A #1A7555
split-complementary
#281A75 #75551A #39751A
monochromatic
#090619 #170F43 #281A75 #3925A7 #4F37D3

Accessibility & contrast

On white

14.05
#281A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#281A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A75
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A75#FFFFFF#000000##FFFFFF
##281A751.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281a75;
/* rgb */ color: rgb(40, 26, 117);
/* oklch */ color: oklch(30.7% 0.145 280.5);
Tailwind
colors: {
  custom: {
    50: '#6d599e',
    500: '#281a75',
    950: '#000000',
  },
}
SCSS
$custom: #281a75;
$custom-light: #6d599e;
$custom-dark: #000000;
JSON
{
  "hex": "#281a75",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 249.231,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30655,
    "c": 0.14545,
    "h": 280.5
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#281A75
secondary
#9AAA41
accent
#E741CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281A75

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

Preview Lab → · Contrast checker → · Palette generator →

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