#2D296F#2D296F

#2D296F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.117 H 280.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#2D296F
RGBrgb(45, 41, 111)
HSLhsl(243, 46%, 30%)
HSVhsv(243, 63%, 44%)
CMYKcmyk(59.5%, 63.1%, 0%, 56.5%)
CIE-LABlab(21.17, 23.85, -40.16)
CIE-LCHlch(21.17, 46.71, 300.71°)
OKLaboklab(33.03% 0.0211 -0.1153)
OKLCHoklch(33.03% 0.117 280.4)
XYZxyz(4.7435, 3.2911, 15.4211)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D296F #6B6F29
analogous
#29486F #2D296F #50296F
triadic
#2D296F #6F2D29 #296F2D
tetradic
#2D296F #6F2948 #6B6F29 #296F50
square
#2D296F #6F2948 #6B6F29 #296F50
split-complementary
#2D296F #6F5029 #486F29
monochromatic
#090816 #1B1842 #2D296F #3F3A9C #5953BF

Accessibility & contrast

On white

12.66
#2D296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D296F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D296F#FFFFFF#000000##FFFFFF
##2D296F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d296f;
/* rgb */ color: rgb(45, 41, 111);
/* oklch */ color: oklch(33.0% 0.117 280.4);
Tailwind
colors: {
  custom: {
    50: '#6d6399',
    500: '#2d296f',
    950: '#000000',
  },
}
SCSS
$custom: #2d296f;
$custom-light: #6d6399;
$custom-dark: #000000;
JSON
{
  "hex": "#2d296f",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 243.429,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.1172,
    "h": 280.4
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#2D296F
secondary
#9DA153
accent
#D652CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2D296F

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

Preview Lab → · Contrast checker → · Palette generator →

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