#2A299B#2A299B

#2A299B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.178 H 273.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2A299B
RGBrgb(42, 41, 155)
HSLhsl(241, 58%, 38%)
HSVhsv(241, 74%, 61%)
CMYKcmyk(72.9%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.09, 38.89, -61.38)
CIE-LCHlch(25.09, 72.66, 302.36°)
OKLaboklab(37.07% 0.0119 -0.1775)
OKLCHoklch(37.07% 0.178 273.8)
XYZxyz(7.6622, 4.4439, 31.4579)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A299B #9A9B29
analogous
#29619B #2A299B #63299B
triadic
#2A299B #9B2A29 #299B2A
tetradic
#2A299B #9B2961 #9A9B29 #299B63
square
#2A299B #9B2961 #9A9B29 #299B63
split-complementary
#2A299B #9B6329 #619B29
monochromatic
#100F3A #1D1C6B #2A299B #3837CA #6867D7

Accessibility & contrast

On white

11.12
#2A299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2A299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A299B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A299B#FFFFFF#000000##FFFFFF
##2A299B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a299b;
/* rgb */ color: rgb(42, 41, 155);
/* oklch */ color: oklch(37.1% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#7564ba',
    500: '#2a299b',
    950: '#000000',
  },
}
SCSS
$custom: #2a299b;
$custom-light: #7564ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a299b",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 240.526,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.17791,
    "h": 273.8
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#2A299B
secondary
#BCBD63
accent
#E146E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A299B

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

Preview Lab → · Contrast checker → · Palette generator →

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