#2B296A#2B296A

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

Color values

HEX#2B296A
RGBrgb(43, 41, 106)
HSLhsl(242, 44%, 29%)
HSVhsv(242, 61%, 42%)
CMYKcmyk(59.4%, 61.3%, 0%, 58.4%)
CIE-LABlab(20.60, 21.66, -37.87)
CIE-LCHlch(20.60, 43.62, 299.76°)
OKLaboklab(32.43% 0.0185 -0.1086)
OKLCHoklch(32.43% 0.11 279.7)
XYZxyz(4.3899, 3.1398, 14.0076)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B296A #686A29
analogous
#29486A #2B296A #4C296A
triadic
#2B296A #6A2B29 #296A2B
tetradic
#2B296A #6A2948 #686A29 #296A4C
square
#2B296A #6A2948 #686A29 #296A4C
split-complementary
#2B296A #6A4C29 #486A29
monochromatic
#090916 #19183E #2B296A #3D3A96 #5552BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B296A#FFFFFF#000000##FFFFFF
##2B296A1.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)
#00346C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#093845
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b296a;
/* rgb */ color: rgb(43, 41, 106);
/* oklch */ color: oklch(32.4% 0.110 279.7);
Tailwind
colors: {
  custom: {
    50: '#6b6295',
    500: '#2b296a',
    950: '#000000',
  },
}
SCSS
$custom: #2b296a;
$custom-light: #6b6295;
$custom-dark: #000000;
JSON
{
  "hex": "#2b296a",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 241.846,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.11018,
    "h": 279.7
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#2B296A
secondary
#9A9C52
accent
#D454D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B296A

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

Preview Lab → · Contrast checker → · Palette generator →

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