#2D41A9#2D41A9

#2D41A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.168 H 269.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2D41A9
RGBrgb(45, 65, 169)
HSLhsl(230, 58%, 42%)
HSVhsv(230, 73%, 66%)
CMYKcmyk(73.4%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.26, 29.05, -58.07)
CIE-LCHlch(32.26, 64.93, 296.57°)
OKLaboklab(42.74% -0.0015 -0.1677)
OKLCHoklch(42.74% 0.168 269.5)
XYZxyz(10.1315, 7.2020, 38.3846)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41A9 #A9952D
analogous
#2D7FA9 #2D41A9 #572DA9
triadic
#2D41A9 #A92D41 #41A92D
tetradic
#2D41A9 #A92D7F #A9952D #2DA957
square
#2D41A9 #A92D7F #A9952D #2DA957
split-complementary
#2D41A9 #A9572D #7FA92D
monochromatic
#131C48 #202E79 #2D41A9 #465CCE #7686DA

Accessibility & contrast

On white

8.60
#2D41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D41A9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41A9#FFFFFF#000000##FFFFFF
##2D41A91.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d41a9;
/* rgb */ color: rgb(45, 65, 169);
/* oklch */ color: oklch(42.7% 0.168 269.5);
Tailwind
colors: {
  custom: {
    50: '#7875c3',
    500: '#2d41a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d41a9;
$custom-light: #7875c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41a9",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 230.323,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.1677,
    "h": 269.5
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#2D41A9
secondary
#C2B56F
accent
#C847E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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