#2D3779#2D3779

#2D3779 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.112 H 273.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2D3779
RGBrgb(45, 55, 121)
HSLhsl(232, 46%, 33%)
HSVhsv(232, 63%, 47%)
CMYKcmyk(62.8%, 54.5%, 0%, 52.5%)
CIE-LABlab(25.77, 17.90, -39.10)
CIE-LCHlch(25.77, 43.00, 294.59°)
OKLaboklab(36.7% 0.0061 -0.112)
OKLCHoklch(36.7% 0.112 273.1)
XYZxyz(5.8984, 4.6703, 18.6761)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3779 #796F2D
analogous
#2D5D79 #2D3779 #492D79
triadic
#2D3779 #792D37 #37792D
tetradic
#2D3779 #792D5D #796F2D #2D7949
square
#2D3779 #792D5D #796F2D #2D7949
split-complementary
#2D3779 #79492D #5D792D
monochromatic
#0C0E20 #1C234C #2D3779 #3E4BA6 #5D6BC3

Accessibility & contrast

On white

10.86
#2D3779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D3779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3779
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3779#FFFFFF#000000##FFFFFF
##2D37791.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10407B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3779;
/* rgb */ color: rgb(45, 55, 121);
/* oklch */ color: oklch(36.7% 0.112 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e6da0',
    500: '#2d3779',
    950: '#000000',
  },
}
SCSS
$custom: #2d3779;
$custom-light: #6e6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3779",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 232.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36698,
    "c": 0.1122,
    "h": 273.1
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#2D3779
secondary
#A99F58
accent
#C452D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2D3779

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

Preview Lab → · Contrast checker → · Palette generator →

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