#2D3D77#2D3D77

#2D3D77 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.101 H 269.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2D3D77
RGBrgb(45, 61, 119)
HSLhsl(227, 45%, 32%)
HSVhsv(227, 62%, 47%)
CMYKcmyk(62.2%, 48.7%, 0%, 53.3%)
CIE-LABlab(27.37, 13.02, -35.27)
CIE-LCHlch(27.37, 37.59, 290.26°)
OKLaboklab(37.86% -0.0009 -0.1007)
OKLCHoklch(37.86% 0.101 269.5)
XYZxyz(6.0796, 5.2268, 18.1377)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D77 #77672D
analogous
#2D6277 #2D3D77 #422D77
triadic
#2D3D77 #772D3D #3D772D
tetradic
#2D3D77 #772D62 #77672D #2D7742
square
#2D3D77 #772D62 #77672D #2D7742
split-complementary
#2D3D77 #77422D #62772D
monochromatic
#0B0F1E #1C264B #2D3D77 #3E54A3 #5D73C2

Accessibility & contrast

On white

10.27
#2D3D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D3D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D77
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D77#FFFFFF#000000##FFFFFF
##2D3D771.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#153E76
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3d77;
/* rgb */ color: rgb(45, 61, 119);
/* oklch */ color: oklch(37.9% 0.101 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d729f',
    500: '#2d3d77',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d77;
$custom-light: #6d729f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d77",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 119
  },
  "hsl": {
    "h": 227.027,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.10069,
    "h": 269.5
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#2D3D77
secondary
#A89758
accent
#B953D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D3D77

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

Preview Lab → · Contrast checker → · Palette generator →

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