#2A2E86#2A2E86

#2A2E86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.144 H 274.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2A2E86
RGBrgb(42, 46, 134)
HSLhsl(237, 52%, 35%)
HSVhsv(237, 69%, 53%)
CMYKcmyk(68.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(24.22, 28.29, -49.82)
CIE-LCHlch(24.22, 57.29, 299.59°)
OKLaboklab(35.82% 0.0111 -0.1437)
OKLCHoklch(35.82% 0.144 274.4)
XYZxyz(6.2335, 4.1669, 23.0254)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E86 #86822A
analogous
#2A5C86 #2A2E86 #542A86
triadic
#2A2E86 #862A2E #2E862A
tetradic
#2A2E86 #862A5C #86822A #2A8654
square
#2A2E86 #862A5C #86822A #2A8654
split-complementary
#2A2E86 #86542A #5C862A
monochromatic
#0D0E29 #1B1E57 #2A2E86 #393EB5 #5E63CD

Accessibility & contrast

On white

11.45
#2A2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E86
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E86#FFFFFF#000000##FFFFFF
##2A2E861.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2e86;
/* rgb */ color: rgb(42, 46, 134);
/* oklch */ color: oklch(35.8% 0.144 274.4);
Tailwind
colors: {
  custom: {
    50: '#7067aa',
    500: '#2a2e86',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e86;
$custom-light: #7067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e86",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 237.391,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.14414,
    "h": 274.4
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#2A2E86
secondary
#B2AE5A
accent
#D54CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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