#2A296F#2A296F

#2A296F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.118 H 278.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2A296F
RGBrgb(42, 41, 111)
HSLhsl(241, 46%, 30%)
HSVhsv(241, 63%, 44%)
CMYKcmyk(62.2%, 63.1%, 0%, 56.5%)
CIE-LABlab(20.93, 23.26, -40.57)
CIE-LCHlch(20.93, 46.77, 299.83°)
OKLaboklab(32.78% 0.0171 -0.1166)
OKLCHoklch(32.78% 0.118 278.3)
XYZxyz(4.6161, 3.2255, 15.4152)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A296F #6E6F29
analogous
#294B6F #2A296F #4D296F
triadic
#2A296F #6F2A29 #296F2A
tetradic
#2A296F #6F294B #6E6F29 #296F4D
square
#2A296F #6F294B #6E6F29 #296F4D
split-complementary
#2A296F #6F4D29 #4B6F29
monochromatic
#080816 #191842 #2A296F #3B3A9C #5453BF

Accessibility & contrast

On white

12.76
#2A296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A296F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A296F#FFFFFF#000000##FFFFFF
##2A296F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a296f;
/* rgb */ color: rgb(42, 41, 111);
/* oklch */ color: oklch(32.8% 0.118 278.3);
Tailwind
colors: {
  custom: {
    50: '#6b6399',
    500: '#2a296f',
    950: '#000000',
  },
}
SCSS
$custom: #2a296f;
$custom-light: #6b6399;
$custom-dark: #000000;
JSON
{
  "hex": "#2a296f",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 240.857,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32779,
    "c": 0.11784,
    "h": 278.3
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#2A296F
secondary
#A0A153
accent
#D652D4
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2A296F

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

Preview Lab → · Contrast checker → · Palette generator →

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