#2D296E#2D296E

#2D296E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.116 H 280.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2D296E
RGBrgb(45, 41, 110)
HSLhsl(243, 46%, 30%)
HSVhsv(243, 63%, 43%)
CMYKcmyk(59.1%, 62.7%, 0%, 56.9%)
CIE-LABlab(21.09, 23.50, -39.65)
CIE-LCHlch(21.09, 46.09, 300.66°)
OKLaboklab(32.94% 0.0212 -0.1138)
OKLCHoklch(32.94% 0.116 280.5)
XYZxyz(4.6887, 3.2692, 15.1328)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D296E #6A6E29
analogous
#29486E #2D296E #50296E
triadic
#2D296E #6E2D29 #296E2D
tetradic
#2D296E #6E2948 #6A6E29 #296E50
square
#2D296E #6E2948 #6A6E29 #296E50
split-complementary
#2D296E #6E5029 #486E29
monochromatic
#090816 #1B1841 #2D296E #3F3A9B #5953BF

Accessibility & contrast

On white

12.70
#2D296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D296E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D296E#FFFFFF#000000##FFFFFF
##2D296E1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#0B3947
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d296e;
/* rgb */ color: rgb(45, 41, 110);
/* oklch */ color: oklch(32.9% 0.116 280.5);
Tailwind
colors: {
  custom: {
    50: '#6d6398',
    500: '#2d296e',
    950: '#000000',
  },
}
SCSS
$custom: #2d296e;
$custom-light: #6d6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2d296e",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 243.478,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32939,
    "c": 0.11573,
    "h": 280.5
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#2D296E
secondary
#9CA053
accent
#D552CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2D296E

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

Preview Lab → · Contrast checker → · Palette generator →

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