#2A2E85#2A2E85

#2A2E85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.143 H 274.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2A2E85
RGBrgb(42, 46, 133)
HSLhsl(237, 52%, 34%)
HSVhsv(237, 68%, 52%)
CMYKcmyk(68.4%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.13, 27.93, -49.34)
CIE-LCHlch(24.13, 56.69, 299.51°)
OKLaboklab(35.73% 0.0112 -0.1423)
OKLCHoklch(35.73% 0.143 274.5)
XYZxyz(6.1641, 4.1391, 22.6598)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E85 #85812A
analogous
#2A5C85 #2A2E85 #542A85
triadic
#2A2E85 #852A2E #2E852A
tetradic
#2A2E85 #852A5C #85812A #2A8554
square
#2A2E85 #852A5C #85812A #2A8554
split-complementary
#2A2E85 #85542A #5C852A
monochromatic
#0D0E28 #1B1E56 #2A2E85 #393EB4 #5D62CC

Accessibility & contrast

On white

11.49
#2A2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E85
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E85#FFFFFF#000000##FFFFFF
##2A2E851.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2e85;
/* rgb */ color: rgb(42, 46, 133);
/* oklch */ color: oklch(35.7% 0.143 274.5);
Tailwind
colors: {
  custom: {
    50: '#7067a9',
    500: '#2a2e85',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e85;
$custom-light: #7067a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e85",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 237.363,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.14275,
    "h": 274.5
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#2A2E85
secondary
#B2AE59
accent
#D54CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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