#2D43AE#2D43AE

#2D43AE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.172 H 269.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2D43AE
RGBrgb(45, 67, 174)
HSLhsl(230, 59%, 43%)
HSVhsv(230, 74%, 68%)
CMYKcmyk(74.1%, 61.5%, 0%, 31.8%)
CIE-LABlab(33.19, 29.58, -59.54)
CIE-LCHlch(33.19, 66.48, 296.42°)
OKLaboklab(43.56% -0.003 -0.172)
OKLCHoklch(43.56% 0.172 269)
XYZxyz(10.7267, 7.6271, 40.9430)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43AE #AE982D
analogous
#2D84AE #2D43AE #572DAE
triadic
#2D43AE #AE2D43 #43AE2D
tetradic
#2D43AE #AE2D84 #AE982D #2DAE57
square
#2D43AE #AE2D84 #AE982D #2DAE57
split-complementary
#2D43AE #AE572D #84AE2D
monochromatic
#141E4D #20307D #2D43AE #4860D0 #798ADC

Accessibility & contrast

On white

8.31
#2D43AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D43AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43AE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43AE#FFFFFF#000000##FFFFFF
##2D43AE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d43ae;
/* rgb */ color: rgb(45, 67, 174);
/* oklch */ color: oklch(43.6% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#7977c7',
    500: '#2d43ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d43ae;
$custom-light: #7977c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43ae",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 229.767,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.172,
    "h": 269
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#2D43AE
secondary
#C4B672
accent
#C746E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D43AE

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

Preview Lab → · Contrast checker → · Palette generator →

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