#2A1E67#2A1E67

#2A1E67 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.121 H 283.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#2A1E67
RGBrgb(42, 30, 103)
HSLhsl(250, 55%, 26%)
HSVhsv(250, 71%, 40%)
CMYKcmyk(59.2%, 70.9%, 0%, 59.6%)
CIE-LABlab(17.46, 27.74, -41.02)
CIE-LCHlch(17.46, 49.52, 304.07°)
OKLaboklab(30.03% 0.0291 -0.1179)
OKLCHoklch(30.03% 0.121 283.8)
XYZxyz(3.8666, 2.3998, 13.0888)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E67 #5B671E
analogous
#1E3667 #2A1E67 #4E1E67
triadic
#2A1E67 #672A1E #1E672A
tetradic
#2A1E67 #671E36 #5B671E #1E674E
square
#2A1E67 #671E36 #5B671E #1E674E
split-complementary
#2A1E67 #674E1E #36671E
monochromatic
#0A0718 #171038 #2A1E67 #3D2C96 #513AC6

Accessibility & contrast

On white

14.19
#2A1E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A1E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1E67
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E67#FFFFFF#000000##FFFFFF
##2A1E671.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#0C313F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a1e67;
/* rgb */ color: rgb(42, 30, 103);
/* oklch */ color: oklch(30.0% 0.121 283.8);
Tailwind
colors: {
  custom: {
    50: '#6b5b93',
    500: '#2a1e67',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e67;
$custom-light: #6b5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e67",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 249.863,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30031,
    "c": 0.12147,
    "h": 283.8
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#2A1E67
secondary
#8D9C45
accent
#DE4AC6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2A1E67

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

Preview Lab → · Contrast checker → · Palette generator →

#2A1E67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva