#2D43A7#2D43A7

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

Color values

HEX#2D43A7
RGBrgb(45, 67, 167)
HSLhsl(229, 58%, 42%)
HSVhsv(229, 73%, 65%)
CMYKcmyk(73.1%, 59.9%, 0%, 34.5%)
CIE-LABlab(32.62, 26.98, -56.30)
CIE-LCHlch(32.62, 62.43, 295.61°)
OKLaboklab(42.95% -0.003 -0.1625)
OKLCHoklch(42.95% 0.162 269)
XYZxyz(10.0620, 7.3612, 37.4423)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A7 #A7912D
analogous
#2D80A7 #2D43A7 #542DA7
triadic
#2D43A7 #A72D43 #43A72D
tetradic
#2D43A7 #A72D80 #A7912D #2DA754
square
#2D43A7 #A72D80 #A7912D #2DA754
split-complementary
#2D43A7 #A7542D #80A72D
monochromatic
#131C47 #203077 #2D43A7 #445DCD #7587DA

Accessibility & contrast

On white

8.49
#2D43A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D43A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43A7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A7#FFFFFF#000000##FFFFFF
##2D43A71.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d43a7;
/* rgb */ color: rgb(45, 67, 167);
/* oklch */ color: oklch(42.9% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#7776c2',
    500: '#2d43a7',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a7;
$custom-light: #7776c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a7",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 229.18,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.16249,
    "h": 269
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#2D43A7
secondary
#C1B26E
accent
#C547E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D43A7

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

Preview Lab → · Contrast checker → · Palette generator →

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