#2C3571#2C3571

#2C3571 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.103 H 273.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2C3571
RGBrgb(44, 53, 113)
HSLhsl(232, 44%, 31%)
HSVhsv(232, 61%, 44%)
CMYKcmyk(61.1%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.56, 16.11, -35.98)
CIE-LCHlch(24.56, 39.42, 294.12°)
OKLaboklab(35.58% 0.0064 -0.1029)
OKLCHoklch(35.58% 0.103 273.6)
XYZxyz(5.2915, 4.2735, 16.1656)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3571 #71682C
analogous
#2C5771 #2C3571 #452C71
triadic
#2C3571 #712C35 #35712C
tetradic
#2C3571 #712C57 #71682C #2C7145
square
#2C3571 #712C57 #71682C #2C7145
split-complementary
#2C3571 #71452C #57712C
monochromatic
#0A0C19 #1B2045 #2C3571 #3D4A9D #5966BE

Accessibility & contrast

On white

11.32
#2C3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3571
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3571#FFFFFF#000000##FFFFFF
##2C35711.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#073770
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c3571;
/* rgb */ color: rgb(44, 53, 113);
/* oklch */ color: oklch(35.6% 0.103 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c6c9a',
    500: '#2c3571',
    950: '#000000',
  },
}
SCSS
$custom: #2c3571;
$custom-light: #6c6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3571",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 232.174,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35577,
    "c": 0.10311,
    "h": 273.6
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#2C3571
secondary
#A39956
accent
#C354D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3571

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

Preview Lab → · Contrast checker → · Palette generator →

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