#2D41AF#2D41AF

#2D41AF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.176 H 269.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2D41AF
RGBrgb(45, 65, 175)
HSLhsl(231, 59%, 43%)
HSVhsv(231, 74%, 69%)
CMYKcmyk(74.3%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.77, 31.26, -60.82)
CIE-LCHlch(32.77, 68.39, 297.20°)
OKLaboklab(43.27% -0.0016 -0.1758)
OKLCHoklch(43.27% 0.176 269.5)
XYZxyz(10.7077, 7.4325, 41.4194)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41AF #AF9B2D
analogous
#2D82AF #2D41AF #5A2DAF
triadic
#2D41AF #AF2D41 #41AF2D
tetradic
#2D41AF #AF2D82 #AF9B2D #2DAF5A
square
#2D41AF #AF2D82 #AF9B2D #2DAF5A
split-complementary
#2D41AF #AF5A2D #82AF2D
monochromatic
#141D4E #202F7E #2D41AF #495ED0 #7A89DD

Accessibility & contrast

On white

8.44
#2D41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41AF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41AF#FFFFFF#000000##FFFFFF
##2D41AF1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d41af;
/* rgb */ color: rgb(45, 65, 175);
/* oklch */ color: oklch(43.3% 0.176 269.5);
Tailwind
colors: {
  custom: {
    50: '#7975c8',
    500: '#2d41af',
    950: '#000000',
  },
}
SCSS
$custom: #2d41af;
$custom-light: #7975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41af",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 230.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4327,
    "c": 0.17577,
    "h": 269.5
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#2D41AF
secondary
#C5B873
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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