#281E65#281E65

#281E65 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.7% C 0.119 H 282.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#281E65
RGBrgb(40, 30, 101)
HSLhsl(248, 54%, 26%)
HSVhsv(248, 70%, 40%)
CMYKcmyk(60.4%, 70.3%, 0%, 60.4%)
CIE-LABlab(17.08, 26.68, -40.33)
CIE-LCHlch(17.08, 48.36, 303.49°)
OKLaboklab(29.65% 0.0263 -0.116)
OKLCHoklch(29.65% 0.119 282.8)
XYZxyz(3.6876, 2.3190, 12.5627)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E65 #5B651E
analogous
#1E3765 #281E65 #4B1E65
triadic
#281E65 #65281E #1E6528
tetradic
#281E65 #651E37 #5B651E #1E654B
square
#281E65 #651E37 #5B651E #1E654B
split-complementary
#281E65 #654B1E #37651E
monochromatic
#090718 #151036 #281E65 #3B2C94 #4D3AC3

Accessibility & contrast

On white

14.35
#281E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281E65
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E65#FFFFFF#000000##FFFFFF
##281E651.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#08303E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281e65;
/* rgb */ color: rgb(40, 30, 101);
/* oklch */ color: oklch(29.7% 0.119 282.8);
Tailwind
colors: {
  custom: {
    50: '#695a92',
    500: '#281e65',
    950: '#000000',
  },
}
SCSS
$custom: #281e65;
$custom-light: #695a92;
$custom-dark: #000000;
JSON
{
  "hex": "#281e65",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 248.451,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29652,
    "c": 0.11895,
    "h": 282.8
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#281E65
secondary
#8E9A45
accent
#DE4AC9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #281E65

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

Preview Lab → · Contrast checker → · Palette generator →

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