#2C3E72#2C3E72

#2C3E72 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.092 H 267.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2C3E72
RGBrgb(44, 62, 114)
HSLhsl(225, 44%, 31%)
HSVhsv(225, 61%, 45%)
CMYKcmyk(61.4%, 45.6%, 0%, 55.3%)
CIE-LABlab(27.28, 10.25, -32.24)
CIE-LCHlch(27.28, 33.84, 287.64°)
OKLaboklab(37.68% -0.004 -0.0918)
OKLCHoklch(37.68% 0.092 267.5)
XYZxyz(5.7976, 5.1952, 16.6136)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E72 #72602C
analogous
#2C6172 #2C3E72 #3D2C72
triadic
#2C3E72 #722C3E #3E722C
tetradic
#2C3E72 #722C61 #72602C #2C723D
square
#2C3E72 #722C61 #72602C #2C723D
split-complementary
#2C3E72 #723D2C #61722C
monochromatic
#0A0E1A #1B2646 #2C3E72 #3D569E #5973BF

Accessibility & contrast

On white

10.30
#2C3E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C3E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E72
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E72#FFFFFF#000000##FFFFFF
##2C3E721.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#1D3E71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3e72;
/* rgb */ color: rgb(44, 62, 114);
/* oklch */ color: oklch(37.7% 0.092 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c729b',
    500: '#2c3e72',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e72;
$custom-light: #6c729b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e72",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 224.571,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.09191,
    "h": 267.5
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#2C3E72
secondary
#A49056
accent
#B354D4
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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