#281B6E#281B6E

#281B6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.135 H 281.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#281B6E
RGBrgb(40, 27, 110)
HSLhsl(249, 61%, 27%)
HSVhsv(249, 75%, 43%)
CMYKcmyk(63.6%, 75.5%, 0%, 56.9%)
CIE-LABlab(17.28, 31.65, -45.90)
CIE-LCHlch(17.28, 55.75, 304.59°)
OKLaboklab(30.06% 0.0274 -0.1323)
OKLCHoklch(30.06% 0.135 281.7)
XYZxyz(4.0806, 2.3605, 14.9894)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B6E #616E1B
analogous
#1B376E #281B6E #521B6E
triadic
#281B6E #6E281B #1B6E28
tetradic
#281B6E #6E1B37 #616E1B #1B6E52
square
#281B6E #6E1B37 #616E1B #1B6E52
split-complementary
#281B6E #6E521B #376E1B
monochromatic
#090619 #160F3D #281B6E #3A279F #4E36CE

Accessibility & contrast

On white

14.26
#281B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281B6E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B6E#FFFFFF#000000##FFFFFF
##281B6E1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281b6e;
/* rgb */ color: rgb(40, 27, 110);
/* oklch */ color: oklch(30.1% 0.135 281.7);
Tailwind
colors: {
  custom: {
    50: '#6c5998',
    500: '#281b6e',
    950: '#000000',
  },
}
SCSS
$custom: #281b6e;
$custom-light: #6c5998;
$custom-dark: #000000;
JSON
{
  "hex": "#281b6e",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 249.398,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30062,
    "c": 0.13512,
    "h": 281.7
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#281B6E
secondary
#94A342
accent
#E444CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #281B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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