#2D43A9#2D43A9

#2D43A9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.165 H 269.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2D43A9
RGBrgb(45, 67, 169)
HSLhsl(229, 58%, 42%)
HSVhsv(229, 73%, 66%)
CMYKcmyk(73.4%, 60.4%, 0%, 33.7%)
CIE-LABlab(32.78, 27.73, -57.23)
CIE-LCHlch(32.78, 63.59, 295.85°)
OKLaboklab(43.12% -0.003 -0.1652)
OKLCHoklch(43.12% 0.165 269)
XYZxyz(10.2483, 7.4357, 38.4236)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A9 #A9932D
analogous
#2D81A9 #2D43A9 #552DA9
triadic
#2D43A9 #A92D43 #43A92D
tetradic
#2D43A9 #A92D81 #A9932D #2DA955
square
#2D43A9 #A92D81 #A9932D #2DA955
split-complementary
#2D43A9 #A9552D #81A92D
monochromatic
#131D48 #203079 #2D43A9 #465ECE #7688DA

Accessibility & contrast

On white

8.44
#2D43A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D43A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43A9
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A9#FFFFFF#000000##FFFFFF
##2D43A91.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d43a9;
/* rgb */ color: rgb(45, 67, 169);
/* oklch */ color: oklch(43.1% 0.165 269.0);
Tailwind
colors: {
  custom: {
    50: '#7876c3',
    500: '#2d43a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a9;
$custom-light: #7876c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a9",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 169
  },
  "hsl": {
    "h": 229.355,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.16522,
    "h": 269
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#2D43A9
secondary
#C2B46F
accent
#C647E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D43A9

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

Preview Lab → · Contrast checker → · Palette generator →

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