#2C3A72#2C3A72

#2C3A72 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.097 H 270.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2C3A72
RGBrgb(44, 58, 114)
HSLhsl(228, 44%, 31%)
HSVhsv(228, 61%, 45%)
CMYKcmyk(61.4%, 49.1%, 0%, 55.3%)
CIE-LABlab(26.09, 13.01, -34.16)
CIE-LCHlch(26.09, 36.55, 290.85°)
OKLaboklab(36.76% 0.0007 -0.0975)
OKLCHoklch(36.76% 0.097 270.4)
XYZxyz(5.5880, 4.7761, 16.5437)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A72 #72642C
analogous
#2C5D72 #2C3A72 #412C72
triadic
#2C3A72 #722C3A #3A722C
tetradic
#2C3A72 #722C5D #72642C #2C7241
square
#2C3A72 #722C5D #72642C #2C7241
split-complementary
#2C3A72 #72412C #5D722C
monochromatic
#0A0D1A #1B2446 #2C3A72 #3D509E #596EBF

Accessibility & contrast

On white

10.74
#2C3A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C3A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A72
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A72#FFFFFF#000000##FFFFFF
##2C3A721.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3a72;
/* rgb */ color: rgb(44, 58, 114);
/* oklch */ color: oklch(36.8% 0.097 270.4);
Tailwind
colors: {
  custom: {
    50: '#6c6f9b',
    500: '#2c3a72',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a72;
$custom-light: #6c6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a72",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 228,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36761,
    "c": 0.09749,
    "h": 270.4
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#2C3A72
secondary
#A49456
accent
#BA54D4
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2C3A72

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

Preview Lab → · Contrast checker → · Palette generator →

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