#281D6E#281D6E

#281D6E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.133 H 281.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#281D6E
RGBrgb(40, 29, 110)
HSLhsl(248, 58%, 27%)
HSVhsv(248, 74%, 43%)
CMYKcmyk(63.6%, 73.6%, 0%, 56.9%)
CIE-LABlab(17.72, 30.43, -45.18)
CIE-LCHlch(17.72, 54.47, 303.96°)
OKLaboklab(30.38% 0.0257 -0.1302)
OKLCHoklch(30.38% 0.133 281.2)
XYZxyz(4.1280, 2.4553, 15.0052)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281D6E #636E1D
analogous
#1D3B6E #281D6E #511D6E
triadic
#281D6E #6E281D #1D6E28
tetradic
#281D6E #6E1D3B #636E1D #1D6E51
square
#281D6E #6E1D3B #636E1D #1D6E51
split-complementary
#281D6E #6E511D #3B6E1D
monochromatic
#090618 #16103E #281D6E #3A2A9E #4E3ACB

Accessibility & contrast

On white

14.08
#281D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281D6E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281D6E#FFFFFF#000000##FFFFFF
##281D6E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281d6e;
/* rgb */ color: rgb(40, 29, 110);
/* oklch */ color: oklch(30.4% 0.133 281.2);
Tailwind
colors: {
  custom: {
    50: '#6b5a98',
    500: '#281d6e',
    950: '#000000',
  },
}
SCSS
$custom: #281d6e;
$custom-light: #6b5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#281d6e",
  "rgb": {
    "r": 40,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 248.148,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.13272,
    "h": 281.2
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#281D6E
secondary
#96A244
accent
#E146CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #281D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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