#2D299F#2D299F

#2D299F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.182 H 274.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2D299F
RGBrgb(45, 41, 159)
HSLhsl(242, 59%, 39%)
HSVhsv(242, 74%, 62%)
CMYKcmyk(71.7%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.70, 40.56, -62.80)
CIE-LCHlch(25.70, 74.76, 302.86°)
OKLaboklab(37.68% 0.0149 -0.1816)
OKLCHoklch(37.68% 0.182 274.7)
XYZxyz(8.1311, 4.6462, 33.2625)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D299F #9B9F29
analogous
#29609F #2D299F #68299F
triadic
#2D299F #9F2D29 #299F2D
tetradic
#2D299F #9F2960 #9B9F29 #299F68
square
#2D299F #9F2960 #9B9F29 #299F68
split-complementary
#2D299F #9F6829 #609F29
monochromatic
#11103E #1F1C6E #2D299F #3E39CC #6E6AD9

Accessibility & contrast

On white

10.88
#2D299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D299F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D299F#FFFFFF#000000##FFFFFF
##2D299F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d299f;
/* rgb */ color: rgb(45, 41, 159);
/* oklch */ color: oklch(37.7% 0.182 274.7);
Tailwind
colors: {
  custom: {
    50: '#7864bd',
    500: '#2d299f',
    950: '#000000',
  },
}
SCSS
$custom: #2d299f;
$custom-light: #7864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d299f",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 242.034,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37682,
    "c": 0.18219,
    "h": 274.7
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#2D299F
secondary
#BCBF65
accent
#E246DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D299F

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

Preview Lab → · Contrast checker → · Palette generator →

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