#2A296E#2A296E

#2A296E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.116 H 278.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2A296E
RGBrgb(42, 41, 110)
HSLhsl(241, 46%, 30%)
HSVhsv(241, 63%, 43%)
CMYKcmyk(61.8%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.84, 22.90, -40.06)
CIE-LCHlch(20.84, 46.15, 299.75°)
OKLaboklab(32.69% 0.0171 -0.1151)
OKLCHoklch(32.69% 0.116 278.4)
XYZxyz(4.5614, 3.2036, 15.1268)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A296E #6D6E29
analogous
#294A6E #2A296E #4D296E
triadic
#2A296E #6E2A29 #296E2A
tetradic
#2A296E #6E294A #6D6E29 #296E4D
square
#2A296E #6E294A #6D6E29 #296E4D
split-complementary
#2A296E #6E4D29 #4A6E29
monochromatic
#090816 #191841 #2A296E #3B3A9B #5453BF

Accessibility & contrast

On white

12.80
#2A296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2A296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A296E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A296E#FFFFFF#000000##FFFFFF
##2A296E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a296e;
/* rgb */ color: rgb(42, 41, 110);
/* oklch */ color: oklch(32.7% 0.116 278.4);
Tailwind
colors: {
  custom: {
    50: '#6b6398',
    500: '#2a296e',
    950: '#000000',
  },
}
SCSS
$custom: #2a296e;
$custom-light: #6b6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2a296e",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 240.87,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.11636,
    "h": 278.4
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#2A296E
secondary
#9FA053
accent
#D552D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2A296E

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

Preview Lab → · Contrast checker → · Palette generator →

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