#2D3C79#2D3C79

#2D3C79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.105 H 270.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2D3C79
RGBrgb(45, 60, 121)
HSLhsl(228, 46%, 33%)
HSVhsv(228, 63%, 47%)
CMYKcmyk(62.8%, 50.4%, 0%, 52.5%)
CIE-LABlab(27.21, 14.45, -36.78)
CIE-LCHlch(27.21, 39.52, 291.45°)
OKLaboklab(37.79% 0.0006 -0.1052)
OKLCHoklch(37.79% 0.105 270.3)
XYZxyz(6.1481, 5.1696, 18.7593)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C79 #796A2D
analogous
#2D6279 #2D3C79 #442D79
triadic
#2D3C79 #792D3C #3C792D
tetradic
#2D3C79 #792D62 #796A2D #2D7944
square
#2D3C79 #792D62 #796A2D #2D7944
split-complementary
#2D3C79 #79442D #62792D
monochromatic
#0C1020 #1C264C #2D3C79 #3E52A6 #5D71C3

Accessibility & contrast

On white

10.32
#2D3C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C79
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C79#FFFFFF#000000##FFFFFF
##2D3C791.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3c79;
/* rgb */ color: rgb(45, 60, 121);
/* oklch */ color: oklch(37.8% 0.105 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e71a0',
    500: '#2d3c79',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c79;
$custom-light: #6e71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c79",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 228.158,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.10516,
    "h": 270.3
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#2D3C79
secondary
#A99958
accent
#BC52D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2D3C79

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

Preview Lab → · Contrast checker → · Palette generator →

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