#2D2899#2D2899

#2D2899 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.176 H 275.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D2899
RGBrgb(45, 40, 153)
HSLhsl(243, 59%, 38%)
HSVhsv(243, 74%, 60%)
CMYKcmyk(70.6%, 73.9%, 0%, 40%)
CIE-LABlab(24.87, 39.12, -60.50)
CIE-LCHlch(24.87, 72.05, 302.89°)
OKLaboklab(36.91% 0.0166 -0.1749)
OKLCHoklch(36.91% 0.176 275.4)
XYZxyz(7.5889, 4.3747, 30.5753)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2899 #949928
analogous
#285B99 #2D2899 #652899
triadic
#2D2899 #992D28 #28992D
tetradic
#2D2899 #99285B #949928 #289965
square
#2D2899 #99285B #949928 #289965
split-complementary
#2D2899 #996528 #5B9928
monochromatic
#100F38 #1F1B68 #2D2899 #3B35CA #6A65D7

Accessibility & contrast

On white

11.20
#2D2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2899
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2899#FFFFFF#000000##FFFFFF
##2D28991.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d2899;
/* rgb */ color: rgb(45, 40, 153);
/* oklch */ color: oklch(36.9% 0.176 275.4);
Tailwind
colors: {
  custom: {
    50: '#7663b8',
    500: '#2d2899',
    950: '#000000',
  },
}
SCSS
$custom: #2d2899;
$custom-light: #7663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2899",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 242.655,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.17566,
    "h": 275.4
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#2D2899
secondary
#B8BD60
accent
#E246DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2D2899

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

Preview Lab → · Contrast checker → · Palette generator →

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