#2A299C#2A299C

#2A299C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.179 H 273.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2A299C
RGBrgb(42, 41, 156)
HSLhsl(241, 58%, 39%)
HSVhsv(241, 74%, 61%)
CMYKcmyk(73.1%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.19, 39.23, -61.82)
CIE-LCHlch(25.19, 73.22, 302.40°)
OKLaboklab(37.17% 0.0117 -0.1788)
OKLCHoklch(37.17% 0.179 273.7)
XYZxyz(7.7465, 4.4776, 31.9021)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A299C #9B9C29
analogous
#29619C #2A299C #63299C
triadic
#2A299C #9C2A29 #299C2A
tetradic
#2A299C #9C2961 #9B9C29 #299C63
square
#2A299C #9C2961 #9B9C29 #299C63
split-complementary
#2A299C #9C6329 #619C29
monochromatic
#10103B #1D1C6C #2A299C #3938CB #6968D7

Accessibility & contrast

On white

11.08
#2A299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A299C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A299C#FFFFFF#000000##FFFFFF
##2A299C1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a299c;
/* rgb */ color: rgb(42, 41, 156);
/* oklch */ color: oklch(37.2% 0.179 273.7);
Tailwind
colors: {
  custom: {
    50: '#7664ba',
    500: '#2a299c',
    950: '#000000',
  },
}
SCSS
$custom: #2a299c;
$custom-light: #7664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a299c",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 240.522,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37173,
    "c": 0.17918,
    "h": 273.7
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#2A299C
secondary
#BDBE63
accent
#E246E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A299C

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

Preview Lab → · Contrast checker → · Palette generator →

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