#2D43A5#2D43A5

#2D43A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.160 H 268.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2D43A5
RGBrgb(45, 67, 165)
HSLhsl(229, 57%, 41%)
HSVhsv(229, 73%, 65%)
CMYKcmyk(72.7%, 59.4%, 0%, 35.3%)
CIE-LABlab(32.45, 26.23, -55.36)
CIE-LCHlch(32.45, 61.26, 295.35°)
OKLaboklab(42.77% -0.003 -0.1597)
OKLCHoklch(42.77% 0.16 268.9)
XYZxyz(9.8785, 7.2878, 36.4761)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A5 #A58F2D
analogous
#2D7FA5 #2D43A5 #532DA5
triadic
#2D43A5 #A52D43 #43A52D
tetradic
#2D43A5 #A52D7F #A58F2D #2DA553
square
#2D43A5 #A52D7F #A58F2D #2DA553
split-complementary
#2D43A5 #A5532D #7FA52D
monochromatic
#131C45 #202F75 #2D43A5 #435CCC #7386D9

Accessibility & contrast

On white

8.54
#2D43A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D43A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43A5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A5#FFFFFF#000000##FFFFFF
##2D43A51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d43a5;
/* rgb */ color: rgb(45, 67, 165);
/* oklch */ color: oklch(42.8% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#7776c0',
    500: '#2d43a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a5;
$custom-light: #7776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a5",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 229,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.15974,
    "h": 268.9
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#2D43A5
secondary
#C1B16D
accent
#C447E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D43A5

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

Preview Lab → · Contrast checker → · Palette generator →

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