#2D299C#2D299C

#2D299C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.178 H 275.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2D299C
RGBrgb(45, 41, 156)
HSLhsl(242, 58%, 39%)
HSVhsv(242, 74%, 61%)
CMYKcmyk(71.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.39, 39.55, -61.48)
CIE-LCHlch(25.39, 73.10, 302.75°)
OKLaboklab(37.37% 0.0155 -0.1777)
OKLCHoklch(37.37% 0.178 275)
XYZxyz(7.8739, 4.5433, 31.9080)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D299C #989C29
analogous
#295E9C #2D299C #66299C
triadic
#2D299C #9C2D29 #299C2D
tetradic
#2D299C #9C295E #989C29 #299C66
square
#2D299C #9C295E #989C29 #299C66
split-complementary
#2D299C #9C6629 #5E9C29
monochromatic
#11103B #1F1C6C #2D299C #3D38CB #6C68D7

Accessibility & contrast

On white

11.00
#2D299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D299C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D299C#FFFFFF#000000##FFFFFF
##2D299C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d299c;
/* rgb */ color: rgb(45, 41, 156);
/* oklch */ color: oklch(37.4% 0.178 275.0);
Tailwind
colors: {
  custom: {
    50: '#7764ba',
    500: '#2d299c',
    950: '#000000',
  },
}
SCSS
$custom: #2d299c;
$custom-light: #7764ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d299c",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 242.087,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.17841,
    "h": 275
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2D299C
secondary
#BABE63
accent
#E246DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D299C

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

Preview Lab → · Contrast checker → · Palette generator →

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