#2A296D#2A296D

#2A296D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.115 H 278.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2A296D
RGBrgb(42, 41, 109)
HSLhsl(241, 45%, 29%)
HSVhsv(241, 62%, 43%)
CMYKcmyk(61.5%, 62.4%, 0%, 57.3%)
CIE-LABlab(20.76, 22.54, -39.55)
CIE-LCHlch(20.76, 45.52, 299.68°)
OKLaboklab(32.6% 0.0171 -0.1136)
OKLCHoklch(32.6% 0.115 278.6)
XYZxyz(4.5072, 3.1819, 14.8417)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A296D #6C6D29
analogous
#294A6D #2A296D #4C296D
triadic
#2A296D #6D2A29 #296D2A
tetradic
#2A296D #6D294A #6C6D29 #296D4C
square
#2A296D #6D294A #6C6D29 #296D4C
split-complementary
#2A296D #6D4C29 #4A6D29
monochromatic
#090816 #191841 #2A296D #3B3A99 #5452BE

Accessibility & contrast

On white

12.83
#2A296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A296D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A296D#FFFFFF#000000##FFFFFF
##2A296D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a296d;
/* rgb */ color: rgb(42, 41, 109);
/* oklch */ color: oklch(32.6% 0.115 278.6);
Tailwind
colors: {
  custom: {
    50: '#6b6397',
    500: '#2a296d',
    950: '#000000',
  },
}
SCSS
$custom: #2a296d;
$custom-light: #6b6397;
$custom-dark: #000000;
JSON
{
  "hex": "#2a296d",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 240.882,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32604,
    "c": 0.11488,
    "h": 278.6
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#2A296D
secondary
#9E9F53
accent
#D553D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A296D

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

Preview Lab → · Contrast checker → · Palette generator →

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