#2D43A1#2D43A1

#2D43A1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.154 H 268.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2D43A1
RGBrgb(45, 67, 161)
HSLhsl(229, 56%, 40%)
HSVhsv(229, 72%, 63%)
CMYKcmyk(72%, 58.4%, 0%, 36.9%)
CIE-LABlab(32.13, 24.73, -53.48)
CIE-LCHlch(32.13, 58.92, 294.82°)
OKLaboklab(42.44% -0.0031 -0.1542)
OKLCHoklch(42.44% 0.154 268.9)
XYZxyz(9.5202, 7.1444, 34.5886)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A1 #A18B2D
analogous
#2D7DA1 #2D43A1 #512DA1
triadic
#2D43A1 #A12D43 #43A12D
tetradic
#2D43A1 #A12D7D #A18B2D #2DA151
square
#2D43A1 #A12D7D #A18B2D #2DA151
split-complementary
#2D43A1 #A1512D #7DA12D
monochromatic
#121B41 #202F71 #2D43A1 #415BCA #7184D7

Accessibility & contrast

On white

8.65
#2D43A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D43A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43A1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A1#FFFFFF#000000##FFFFFF
##2D43A11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d43a1;
/* rgb */ color: rgb(45, 67, 161);
/* oklch */ color: oklch(42.4% 0.154 268.9);
Tailwind
colors: {
  custom: {
    50: '#7676be',
    500: '#2d43a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a1;
$custom-light: #7676be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a1",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 161
  },
  "hsl": {
    "h": 228.621,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.15419,
    "h": 268.9
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#2D43A1
secondary
#BFAF6B
accent
#C348E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D43A1

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

Preview Lab → · Contrast checker → · Palette generator →

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