#2B296C#2B296C

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

Color values

HEX#2B296C
RGBrgb(43, 41, 108)
HSLhsl(242, 45%, 29%)
HSVhsv(242, 62%, 42%)
CMYKcmyk(60.2%, 62%, 0%, 57.6%)
CIE-LABlab(20.76, 22.38, -38.90)
CIE-LCHlch(20.76, 44.88, 299.91°)
OKLaboklab(32.6% 0.0185 -0.1116)
OKLCHoklch(32.6% 0.113 279.4)
XYZxyz(4.4951, 3.1819, 14.5617)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B296C #6A6C29
analogous
#29496C #2B296C #4D296C
triadic
#2B296C #6C2B29 #296C2B
tetradic
#2B296C #6C2949 #6A6C29 #296C4D
square
#2B296C #6C2949 #6A6C29 #296C4D
split-complementary
#2B296C #6C4D29 #496C29
monochromatic
#090816 #191840 #2B296C #3D3A98 #5552BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B296C#FFFFFF#000000##FFFFFF
##2B296C1.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)
#00356E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#063946
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b296c;
/* rgb */ color: rgb(43, 41, 108);
/* oklch */ color: oklch(32.6% 0.113 279.4);
Tailwind
colors: {
  custom: {
    50: '#6b6397',
    500: '#2b296c',
    950: '#000000',
  },
}
SCSS
$custom: #2b296c;
$custom-light: #6b6397;
$custom-dark: #000000;
JSON
{
  "hex": "#2b296c",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 241.791,
    "s": 44.966,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32598,
    "c": 0.11317,
    "h": 279.4
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#2B296C
secondary
#9C9E53
accent
#D553D1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B296C

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

Preview Lab → · Contrast checker → · Palette generator →

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