#2D2E71#2D2E71

#2D2E71 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.113 H 278.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2D2E71
RGBrgb(45, 46, 113)
HSLhsl(239, 43%, 31%)
HSVhsv(239, 60%, 44%)
CMYKcmyk(60.2%, 59.3%, 0%, 55.7%)
CIE-LABlab(22.67, 21.16, -39.02)
CIE-LCHlch(22.67, 44.39, 298.47°)
OKLaboklab(34.18% 0.0156 -0.1119)
OKLCHoklch(34.18% 0.113 278)
XYZxyz(5.0389, 3.7038, 16.0690)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E71 #71702D
analogous
#2D5071 #2D2E71 #4E2D71
triadic
#2D2E71 #712D2E #2E712D
tetradic
#2D2E71 #712D50 #71702D #2D714E
square
#2D2E71 #712D50 #71702D #2D714E
split-complementary
#2D2E71 #714E2D #50712D
monochromatic
#0A0A19 #1C1C45 #2D2E71 #3E409D #5B5CBE

Accessibility & contrast

On white

12.06
#2D2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E71
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E71#FFFFFF#000000##FFFFFF
##2D2E711.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#043E4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2e71;
/* rgb */ color: rgb(45, 46, 113);
/* oklch */ color: oklch(34.2% 0.113 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d669a',
    500: '#2d2e71',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e71;
$custom-light: #6d669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e71",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 239.118,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34181,
    "c": 0.113,
    "h": 278
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#2D2E71
secondary
#A3A157
accent
#D155D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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