#2D43A2#2D43A2

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

Color values

HEX#2D43A2
RGBrgb(45, 67, 162)
HSLhsl(229, 57%, 41%)
HSVhsv(229, 72%, 64%)
CMYKcmyk(72.2%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.21, 25.11, -53.95)
CIE-LCHlch(32.21, 59.51, 294.96°)
OKLaboklab(42.52% -0.0031 -0.1555)
OKLCHoklch(42.52% 0.156 268.9)
XYZxyz(9.6087, 7.1799, 35.0549)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43A2 #A28C2D
analogous
#2D7DA2 #2D43A2 #512DA2
triadic
#2D43A2 #A22D43 #43A22D
tetradic
#2D43A2 #A22D7D #A28C2D #2DA251
square
#2D43A2 #A22D7D #A28C2D #2DA251
split-complementary
#2D43A2 #A2512D #7DA22D
monochromatic
#121B42 #202F72 #2D43A2 #425BCA #7285D8

Accessibility & contrast

On white

8.62
#2D43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D43A2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43A2#FFFFFF#000000##FFFFFF
##2D43A21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d43a2;
/* rgb */ color: rgb(45, 67, 162);
/* oklch */ color: oklch(42.5% 0.156 268.9);
Tailwind
colors: {
  custom: {
    50: '#7676be',
    500: '#2d43a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d43a2;
$custom-light: #7676be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43a2",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 228.718,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4252,
    "c": 0.15558,
    "h": 268.9
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#2D43A2
secondary
#BFAF6C
accent
#C348E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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