#2D43A4#2D43A4

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

Color values

HEX#2D43A4
RGBrgb(45, 67, 164)
HSLhsl(229, 57%, 41%)
HSVhsv(229, 73%, 64%)
CMYKcmyk(72.6%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.37, 25.86, -54.89)
CIE-LCHlch(32.37, 60.68, 295.22°)
OKLaboklab(42.69% -0.003 -0.1583)
OKLCHoklch(42.69% 0.158 268.9)
XYZxyz(9.7879, 7.2515, 35.9986)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A4 #A48E2D
analogous
#2D7EA4 #2D43A4 #522DA4
triadic
#2D43A4 #A42D43 #43A42D
tetradic
#2D43A4 #A42D7E #A48E2D #2DA452
square
#2D43A4 #A42D7E #A48E2D #2DA452
split-complementary
#2D43A4 #A4522D #7EA42D
monochromatic
#131C44 #202F74 #2D43A4 #435CCB #7386D9

Accessibility & contrast

On white

8.57
#2D43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D43A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43A4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A4#FFFFFF#000000##FFFFFF
##2D43A41.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d43a4;
/* rgb */ color: rgb(45, 67, 164);
/* oklch */ color: oklch(42.7% 0.158 268.9);
Tailwind
colors: {
  custom: {
    50: '#7776c0',
    500: '#2d43a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a4;
$custom-light: #7776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a4",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 228.908,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.15836,
    "h": 268.9
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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