#281E68#281E68

#281E68 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.123 H 282.1°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#281E68
RGBrgb(40, 30, 104)
HSLhsl(248, 55%, 26%)
HSVhsv(248, 71%, 41%)
CMYKcmyk(61.5%, 71.2%, 0%, 59.2%)
CIE-LABlab(17.36, 27.73, -41.84)
CIE-LCHlch(17.36, 50.19, 303.53°)
OKLaboklab(29.94% 0.0259 -0.1204)
OKLCHoklch(29.94% 0.123 282.1)
XYZxyz(3.8373, 2.3789, 13.3510)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E68 #5E681E
analogous
#1E3968 #281E68 #4D1E68
triadic
#281E68 #68281E #1E6828
tetradic
#281E68 #681E39 #5E681E #1E684D
square
#281E68 #681E39 #5E681E #1E684D
split-complementary
#281E68 #684D1E #39681E
monochromatic
#090718 #161039 #281E68 #3A2C98 #4D3AC6

Accessibility & contrast

On white

14.23
#281E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E68
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E68#FFFFFF#000000##FFFFFF
##281E681.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#033140
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281e68;
/* rgb */ color: rgb(40, 30, 104);
/* oklch */ color: oklch(29.9% 0.123 282.1);
Tailwind
colors: {
  custom: {
    50: '#6a5b94',
    500: '#281e68',
    950: '#000000',
  },
}
SCSS
$custom: #281e68;
$custom-light: #6a5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#281e68",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 248.108,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.12318,
    "h": 282.1
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#281E68
secondary
#919D45
accent
#DF49CA
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281E68

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

Preview Lab → · Contrast checker → · Palette generator →

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