#2D3071#2D3071

#2D3071 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.110 H 277.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2D3071
RGBrgb(45, 48, 113)
HSLhsl(237, 43%, 31%)
HSVhsv(237, 60%, 44%)
CMYKcmyk(60.2%, 57.5%, 0%, 55.7%)
CIE-LABlab(23.22, 19.79, -38.14)
CIE-LCHlch(23.22, 42.96, 297.42°)
OKLaboklab(34.59% 0.0134 -0.1093)
OKLCHoklch(34.59% 0.11 277)
XYZxyz(5.1188, 3.8637, 16.0956)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3071 #716E2D
analogous
#2D5271 #2D3071 #4C2D71
triadic
#2D3071 #712D30 #30712D
tetradic
#2D3071 #712D52 #716E2D #2D714C
square
#2D3071 #712D52 #716E2D #2D714C
split-complementary
#2D3071 #714C2D #52712D
monochromatic
#0A0B19 #1C1D45 #2D3071 #3E439D #5B5FBE

Accessibility & contrast

On white

11.85
#2D3071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D3071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3071
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3071#FFFFFF#000000##FFFFFF
##2D30711.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#043F4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3071;
/* rgb */ color: rgb(45, 48, 113);
/* oklch */ color: oklch(34.6% 0.110 277.0);
Tailwind
colors: {
  custom: {
    50: '#6d689a',
    500: '#2d3071',
    950: '#000000',
  },
}
SCSS
$custom: #2d3071;
$custom-light: #6d689a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3071",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 237.353,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.1101,
    "h": 277
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#2D3071
secondary
#A39F57
accent
#CD55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3071

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

Preview Lab → · Contrast checker → · Palette generator →

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