#2C3E76#2C3E76

#2C3E76 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.098 H 268.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2C3E76
RGBrgb(44, 62, 118)
HSLhsl(225, 46%, 32%)
HSVhsv(225, 63%, 46%)
CMYKcmyk(62.7%, 47.5%, 0%, 53.7%)
CIE-LABlab(27.54, 11.74, -34.37)
CIE-LCHlch(27.54, 36.32, 288.87°)
OKLaboklab(37.96% -0.0033 -0.098)
OKLCHoklch(37.96% 0.098 268.1)
XYZxyz(6.0302, 5.2882, 17.8390)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E76 #76642C
analogous
#2C6376 #2C3E76 #3F2C76
triadic
#2C3E76 #762C3E #3E762C
tetradic
#2C3E76 #762C63 #76642C #2C763F
square
#2C3E76 #762C63 #76642C #2C763F
split-complementary
#2C3E76 #763F2C #63762C
monochromatic
#0B0F1D #1B2749 #2C3E76 #3D55A3 #5B74C2

Accessibility & contrast

On white

10.21
#2C3E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C3E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E76
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E76#FFFFFF#000000##FFFFFF
##2C3E761.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244578
Deuteranopia (green-blind)
#183E75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3e76;
/* rgb */ color: rgb(44, 62, 118);
/* oklch */ color: oklch(38.0% 0.098 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d729e',
    500: '#2c3e76',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e76;
$custom-light: #6d729e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e76",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 225.405,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.0981,
    "h": 268.1
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#2C3E76
secondary
#A79456
accent
#B652D5
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C3E76

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

Preview Lab → · Contrast checker → · Palette generator →

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