#2B296F#2B296F

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

Color values

HEX#2B296F
RGBrgb(43, 41, 111)
HSLhsl(242, 46%, 30%)
HSVhsv(242, 63%, 44%)
CMYKcmyk(61.3%, 63.1%, 0%, 56.5%)
CIE-LABlab(21.01, 23.46, -40.44)
CIE-LCHlch(21.01, 46.75, 300.12°)
OKLaboklab(32.86% 0.0184 -0.1162)
OKLCHoklch(32.86% 0.118 279)
XYZxyz(4.6575, 3.2468, 15.4171)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B296F #6D6F29
analogous
#294A6F #2B296F #4E296F
triadic
#2B296F #6F2B29 #296F2B
tetradic
#2B296F #6F294A #6D6F29 #296F4E
square
#2B296F #6F294A #6D6F29 #296F4E
split-complementary
#2B296F #6F4E29 #4A6F29
monochromatic
#090816 #1A1842 #2B296F #3C3A9C #5653BF

Accessibility & contrast

On white

12.73
#2B296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B296F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B296F#FFFFFF#000000##FFFFFF
##2B296F1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#013A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b296f;
/* rgb */ color: rgb(43, 41, 111);
/* oklch */ color: oklch(32.9% 0.118 279.0);
Tailwind
colors: {
  custom: {
    50: '#6c6399',
    500: '#2b296f',
    950: '#000000',
  },
}
SCSS
$custom: #2b296f;
$custom-light: #6c6399;
$custom-dark: #000000;
JSON
{
  "hex": "#2b296f",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 241.714,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3286,
    "c": 0.11762,
    "h": 279
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#2B296F
secondary
#9FA153
accent
#D652D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2B296F

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

Preview Lab → · Contrast checker → · Palette generator →

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