#2D4377#2D4377

#2D4377 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.093 H 265.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2D4377
RGBrgb(45, 67, 119)
HSLhsl(222, 45%, 32%)
HSVhsv(222, 62%, 47%)
CMYKcmyk(62.2%, 43.7%, 0%, 53.3%)
CIE-LABlab(29.17, 8.92, -32.40)
CIE-LCHlch(29.17, 33.60, 285.39°)
OKLaboklab(39.24% -0.0078 -0.0922)
OKLCHoklch(39.24% 0.093 265.1)
XYZxyz(6.4180, 5.9036, 18.2505)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4377 #77612D
analogous
#2D6877 #2D4377 #3C2D77
triadic
#2D4377 #772D43 #43772D
tetradic
#2D4377 #772D68 #77612D #2D773C
square
#2D4377 #772D68 #77612D #2D773C
split-complementary
#2D4377 #773C2D #68772D
monochromatic
#0B111E #1C2A4B #2D4377 #3E5CA3 #5D7BC2

Accessibility & contrast

On white

9.63
#2D4377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D4377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4377
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4377#FFFFFF#000000##FFFFFF
##2D43771.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4879
Deuteranopia (green-blind)
#224276
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4377;
/* rgb */ color: rgb(45, 67, 119);
/* oklch */ color: oklch(39.2% 0.093 265.1);
Tailwind
colors: {
  custom: {
    50: '#6d769e',
    500: '#2d4377',
    950: '#000000',
  },
}
SCSS
$custom: #2d4377;
$custom-light: #6d769e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4377",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 119
  },
  "hsl": {
    "h": 222.162,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.09251,
    "h": 265.1
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#2D4377
secondary
#A89058
accent
#AE53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4377

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

Preview Lab → · Contrast checker → · Palette generator →

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