#2A2E89#2A2E89

#2A2E89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.148 H 274.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2A2E89
RGBrgb(42, 46, 137)
HSLhsl(237, 53%, 35%)
HSVhsv(237, 69%, 54%)
CMYKcmyk(69.3%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.49, 29.39, -51.25)
CIE-LCHlch(24.49, 59.07, 299.83°)
OKLaboklab(36.1% 0.0109 -0.1479)
OKLCHoklch(36.1% 0.148 274.2)
XYZxyz(6.4457, 4.2518, 24.1431)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E89 #89852A
analogous
#2A5D89 #2A2E89 #562A89
triadic
#2A2E89 #892A2E #2E892A
tetradic
#2A2E89 #892A5D #89852A #2A8956
square
#2A2E89 #892A5D #89852A #2A8956
split-complementary
#2A2E89 #89562A #5D892A
monochromatic
#0D0F2B #1C1E5A #2A2E89 #383EB8 #5F64CE

Accessibility & contrast

On white

11.35
#2A2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E89
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E89#FFFFFF#000000##FFFFFF
##2A2E891.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2e89;
/* rgb */ color: rgb(42, 46, 137);
/* oklch */ color: oklch(36.1% 0.148 274.2);
Tailwind
colors: {
  custom: {
    50: '#7167ac',
    500: '#2a2e89',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e89;
$custom-light: #7167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e89",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 237.474,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36102,
    "c": 0.1483,
    "h": 274.2
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#2A2E89
secondary
#B4B05B
accent
#D64BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2A2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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