#2D43A3#2D43A3

#2D43A3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.157 H 268.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2D43A3
RGBrgb(45, 67, 163)
HSLhsl(229, 57%, 41%)
HSVhsv(229, 72%, 64%)
CMYKcmyk(72.4%, 58.9%, 0%, 36.1%)
CIE-LABlab(32.29, 25.48, -54.42)
CIE-LCHlch(32.29, 60.09, 295.09°)
OKLaboklab(42.6% -0.003 -0.1569)
OKLCHoklch(42.6% 0.157 268.9)
XYZxyz(9.6979, 7.2155, 35.5249)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A3 #A38D2D
analogous
#2D7EA3 #2D43A3 #522DA3
triadic
#2D43A3 #A32D43 #43A32D
tetradic
#2D43A3 #A32D7E #A38D2D #2DA352
square
#2D43A3 #A32D7E #A38D2D #2DA352
split-complementary
#2D43A3 #A3522D #7EA32D
monochromatic
#131C43 #202F73 #2D43A3 #425CCB #7285D8

Accessibility & contrast

On white

8.59
#2D43A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D43A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43A3
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A3#FFFFFF#000000##FFFFFF
##2D43A31.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d43a3;
/* rgb */ color: rgb(45, 67, 163);
/* oklch */ color: oklch(42.6% 0.157 268.9);
Tailwind
colors: {
  custom: {
    50: '#7676bf',
    500: '#2d43a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a3;
$custom-light: #7676bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a3",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 228.814,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.15697,
    "h": 268.9
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#2D43A3
secondary
#C0B06C
accent
#C448E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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