#2D43AB#2D43AB

#2D43AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.168 H 269.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2D43AB
RGBrgb(45, 67, 171)
HSLhsl(230, 58%, 42%)
HSVhsv(230, 74%, 67%)
CMYKcmyk(73.7%, 60.8%, 0%, 32.9%)
CIE-LABlab(32.94, 28.47, -58.16)
CIE-LCHlch(32.94, 64.75, 296.08°)
OKLaboklab(43.29% -0.003 -0.1679)
OKLCHoklch(43.29% 0.168 269)
XYZxyz(10.4375, 7.5114, 39.4199)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D43AB #AB952D
analogous
#2D82AB #2D43AB #562DAB
triadic
#2D43AB #AB2D43 #43AB2D
tetradic
#2D43AB #AB2D82 #AB952D #2DAB56
square
#2D43AB #AB2D82 #AB952D #2DAB56
split-complementary
#2D43AB #AB562D #82AB2D
monochromatic
#141D4A #20307B #2D43AB #475ECE #7789DB

Accessibility & contrast

On white

8.39
#2D43AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D43AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D43AB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D43AB#FFFFFF#000000##FFFFFF
##2D43AB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d43ab;
/* rgb */ color: rgb(45, 67, 171);
/* oklch */ color: oklch(43.3% 0.168 269.0);
Tailwind
colors: {
  custom: {
    50: '#7877c5',
    500: '#2d43ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d43ab;
$custom-light: #7877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d43ab",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 229.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.16794,
    "h": 269
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#2D43AB
secondary
#C3B571
accent
#C646E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D43AB

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

Preview Lab → · Contrast checker → · Palette generator →

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