#2A296C#2A296C

#2A296C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.113 H 278.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2A296C
RGBrgb(42, 41, 108)
HSLhsl(241, 45%, 29%)
HSVhsv(241, 62%, 42%)
CMYKcmyk(61.1%, 62%, 0%, 57.6%)
CIE-LABlab(20.68, 22.18, -39.04)
CIE-LCHlch(20.68, 44.90, 299.60°)
OKLaboklab(32.52% 0.0171 -0.1121)
OKLCHoklch(32.52% 0.113 278.7)
XYZxyz(4.4537, 3.1605, 14.5598)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A296C #6B6C29
analogous
#294A6C #2A296C #4C296C
triadic
#2A296C #6C2A29 #296C2A
tetradic
#2A296C #6C294A #6B6C29 #296C4C
square
#2A296C #6C294A #6B6C29 #296C4C
split-complementary
#2A296C #6C4C29 #4A6C29
monochromatic
#090816 #191840 #2A296C #3B3A98 #5452BD

Accessibility & contrast

On white

12.87
#2A296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A296C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A296C#FFFFFF#000000##FFFFFF
##2A296C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#023946
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a296c;
/* rgb */ color: rgb(42, 41, 108);
/* oklch */ color: oklch(32.5% 0.113 278.7);
Tailwind
colors: {
  custom: {
    50: '#6b6297',
    500: '#2a296c',
    950: '#000000',
  },
}
SCSS
$custom: #2a296c;
$custom-light: #6b6297;
$custom-dark: #000000;
JSON
{
  "hex": "#2a296c",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 240.896,
    "s": 44.966,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32517,
    "c": 0.11339,
    "h": 278.7
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A296C

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

Preview Lab → · Contrast checker → · Palette generator →

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