#281E90#281E90

#281E90 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.176 H 275.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#281E90
RGBrgb(40, 30, 144)
HSLhsl(245, 66%, 34%)
HSVhsv(245, 79%, 56%)
CMYKcmyk(72.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(21.55, 41.25, -60.44)
CIE-LCHlch(21.55, 73.17, 304.32°)
OKLaboklab(34.18% 0.0173 -0.1747)
OKLCHoklch(34.18% 0.176 275.6)
XYZxyz(6.3717, 3.3927, 26.6992)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E90 #86901E
analogous
#1E4D90 #281E90 #611E90
triadic
#281E90 #90281E #1E9028
tetradic
#281E90 #901E4D #86901E #1E9061
square
#281E90 #901E4D #86901E #1E9061
split-complementary
#281E90 #90611E #4D901E
monochromatic
#0C092B #1A135D #281E90 #3629C3 #5B4EDA

Accessibility & contrast

On white

12.51
#281E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#281E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E90
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E90#FFFFFF#000000##FFFFFF
##281E901.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #281e90;
/* rgb */ color: rgb(40, 30, 144);
/* oklch */ color: oklch(34.2% 0.176 275.6);
Tailwind
colors: {
  custom: {
    50: '#735db2',
    500: '#281e90',
    950: '#000000',
  },
}
SCSS
$custom: #281e90;
$custom-light: #735db2;
$custom-dark: #000000;
JSON
{
  "hex": "#281e90",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 245.263,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.17558,
    "h": 275.6
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#281E90
secondary
#B3BD4D
accent
#E83FDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #281E90

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

Preview Lab → · Contrast checker → · Palette generator →

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