#2A296A#2A296A

#2A296A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.110 H 278.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2A296A
RGBrgb(42, 41, 106)
HSLhsl(241, 44%, 29%)
HSVhsv(241, 61%, 42%)
CMYKcmyk(60.4%, 61.3%, 0%, 58.4%)
CIE-LABlab(20.51, 21.45, -38.01)
CIE-LCHlch(20.51, 43.64, 299.44°)
OKLaboklab(32.34% 0.0172 -0.109)
OKLCHoklch(32.34% 0.11 278.9)
XYZxyz(4.3485, 3.1184, 14.0056)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A296A #696A29
analogous
#29496A #2A296A #4B296A
triadic
#2A296A #6A2A29 #296A2A
tetradic
#2A296A #6A2949 #696A29 #296A4B
square
#2A296A #6A2949 #696A29 #296A4B
split-complementary
#2A296A #6A4B29 #496A29
monochromatic
#090916 #19183E #2A296A #3B3A96 #5352BC

Accessibility & contrast

On white

12.93
#2A296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A296A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A296A#FFFFFF#000000##FFFFFF
##2A296A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#053845
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a296a;
/* rgb */ color: rgb(42, 41, 106);
/* oklch */ color: oklch(32.3% 0.110 278.9);
Tailwind
colors: {
  custom: {
    50: '#6a6295',
    500: '#2a296a',
    950: '#000000',
  },
}
SCSS
$custom: #2a296a;
$custom-light: #6a6295;
$custom-dark: #000000;
JSON
{
  "hex": "#2a296a",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 240.923,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32344,
    "c": 0.11039,
    "h": 278.9
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#2A296A
secondary
#9B9C52
accent
#D454D2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A296A

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

Preview Lab → · Contrast checker → · Palette generator →

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