#2D44A1#2D44A1

#2D44A1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.153 H 268.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2D44A1
RGBrgb(45, 68, 161)
HSLhsl(228, 56%, 40%)
HSVhsv(228, 72%, 63%)
CMYKcmyk(72%, 57.8%, 0%, 36.9%)
CIE-LABlab(32.40, 24.06, -53.04)
CIE-LCHlch(32.40, 58.24, 294.40°)
OKLaboklab(42.64% -0.0039 -0.1529)
OKLCHoklch(42.64% 0.153 268.5)
XYZxyz(9.5801, 7.2644, 34.6086)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D44A1 #A18A2D
analogous
#2D7EA1 #2D44A1 #502DA1
triadic
#2D44A1 #A12D44 #44A12D
tetradic
#2D44A1 #A12D7E #A18A2D #2DA150
square
#2D44A1 #A12D7E #A18A2D #2DA150
split-complementary
#2D44A1 #A1502D #7EA12D
monochromatic
#121C41 #203071 #2D44A1 #415CCA #7185D7

Accessibility & contrast

On white

8.56
#2D44A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D44A1
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D44A1#FFFFFF#000000##FFFFFF
##2D44A11.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d44a1;
/* rgb */ color: rgb(45, 68, 161);
/* oklch */ color: oklch(42.6% 0.153 268.5);
Tailwind
colors: {
  custom: {
    50: '#7677be',
    500: '#2d44a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d44a1;
$custom-light: #7677be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d44a1",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 161
  },
  "hsl": {
    "h": 228.103,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.15292,
    "h": 268.5
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#2D44A1
secondary
#BFAE6B
accent
#C248E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D44A1

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

Preview Lab → · Contrast checker → · Palette generator →

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