#2D3671#2D3671

#2D3671 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.101 H 273.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3671
RGBrgb(45, 54, 113)
HSLhsl(232, 43%, 31%)
HSVhsv(232, 60%, 44%)
CMYKcmyk(60.2%, 52.2%, 0%, 55.7%)
CIE-LABlab(24.92, 15.63, -35.40)
CIE-LCHlch(24.92, 38.70, 293.83°)
OKLaboklab(35.87% 0.0065 -0.1012)
OKLCHoklch(35.87% 0.101 273.7)
XYZxyz(5.3810, 4.3881, 16.1830)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3671 #71682D
analogous
#2D5871 #2D3671 #462D71
triadic
#2D3671 #712D36 #36712D
tetradic
#2D3671 #712D58 #71682D #2D7146
square
#2D3671 #712D58 #71682D #2D7146
split-complementary
#2D3671 #71462D #58712D
monochromatic
#0A0C19 #1C2145 #2D3671 #3E4B9D #5B68BE

Accessibility & contrast

On white

11.18
#2D3671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D3671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3671
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3671#FFFFFF#000000##FFFFFF
##2D36711.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#0C3870
Tritanopia (blue-blind)
#02434E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3671;
/* rgb */ color: rgb(45, 54, 113);
/* oklch */ color: oklch(35.9% 0.101 273.7);
Tailwind
colors: {
  custom: {
    50: '#6d6c9a',
    500: '#2d3671',
    950: '#000000',
  },
}
SCSS
$custom: #2d3671;
$custom-light: #6d6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3671",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 232.059,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.10137,
    "h": 273.7
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#2D3671
secondary
#A39957
accent
#C255D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3671

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

Preview Lab → · Contrast checker → · Palette generator →

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