#2A296B#2A296B

#2A296B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.112 H 278.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2A296B
RGBrgb(42, 41, 107)
HSLhsl(241, 45%, 29%)
HSVhsv(241, 62%, 42%)
CMYKcmyk(60.7%, 61.7%, 0%, 58%)
CIE-LABlab(20.59, 21.81, -38.52)
CIE-LCHlch(20.59, 44.27, 299.52°)
OKLaboklab(32.43% 0.0172 -0.1106)
OKLCHoklch(32.43% 0.112 278.8)
XYZxyz(4.4008, 3.1393, 14.2811)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A296B #6A6B29
analogous
#29496B #2A296B #4B296B
triadic
#2A296B #6B2A29 #296B2A
tetradic
#2A296B #6B2949 #6A6B29 #296B4B
square
#2A296B #6B2949 #6A6B29 #296B4B
split-complementary
#2A296B #6B4B29 #496B29
monochromatic
#090816 #19183F #2A296B #3B3A97 #5352BD

Accessibility & contrast

On white

12.90
#2A296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A296B
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A296B#FFFFFF#000000##FFFFFF
##2A296B1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#043945
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a296b;
/* rgb */ color: rgb(42, 41, 107);
/* oklch */ color: oklch(32.4% 0.112 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b6296',
    500: '#2a296b',
    950: '#000000',
  },
}
SCSS
$custom: #2a296b;
$custom-light: #6b6296;
$custom-dark: #000000;
JSON
{
  "hex": "#2a296b",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 240.909,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3243,
    "c": 0.11189,
    "h": 278.8
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#2A296B
secondary
#9C9D52
accent
#D453D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2A296B

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

Preview Lab → · Contrast checker → · Palette generator →

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