#2D44AB#2D44AB

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

Color values

HEX#2D44AB
RGBrgb(45, 68, 171)
HSLhsl(229, 58%, 42%)
HSVhsv(229, 74%, 67%)
CMYKcmyk(73.7%, 60.2%, 0%, 32.9%)
CIE-LABlab(33.20, 27.81, -57.74)
CIE-LCHlch(33.20, 64.08, 295.72°)
OKLaboklab(43.49% -0.0037 -0.1667)
OKLCHoklch(43.49% 0.167 268.7)
XYZxyz(10.4975, 7.6313, 39.4399)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D44AB #AB942D
analogous
#2D83AB #2D44AB #552DAB
triadic
#2D44AB #AB2D44 #44AB2D
tetradic
#2D44AB #AB2D83 #AB942D #2DAB55
square
#2D44AB #AB2D83 #AB942D #2DAB55
split-complementary
#2D44AB #AB552D #83AB2D
monochromatic
#141D4A #20317B #2D44AB #475FCE #7789DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D44AB#FFFFFF#000000##FFFFFF
##2D44AB1.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)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d44ab;
/* rgb */ color: rgb(45, 68, 171);
/* oklch */ color: oklch(43.5% 0.167 268.7);
Tailwind
colors: {
  custom: {
    50: '#7877c5',
    500: '#2d44ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d44ab;
$custom-light: #7877c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d44ab",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 229.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.1667,
    "h": 268.7
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#2D44AB
secondary
#C3B471
accent
#C546E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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