#2C3272#2C3272

#2C3272 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.109 H 275.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2C3272
RGBrgb(44, 50, 114)
HSLhsl(235, 44%, 31%)
HSVhsv(235, 61%, 45%)
CMYKcmyk(61.4%, 56.1%, 0%, 55.3%)
CIE-LABlab(23.77, 18.56, -37.88)
CIE-LCHlch(23.77, 42.18, 296.11°)
OKLaboklab(35.01% 0.0099 -0.1085)
OKLCHoklch(35.01% 0.109 275.2)
XYZxyz(5.2156, 4.0312, 16.4196)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3272 #726C2C
analogous
#2C5572 #2C3272 #492C72
triadic
#2C3272 #722C32 #32722C
tetradic
#2C3272 #722C55 #726C2C #2C7249
square
#2C3272 #722C55 #726C2C #2C7249
split-complementary
#2C3272 #72492C #55722C
monochromatic
#0A0B1A #1B1F46 #2C3272 #3D459E #5962BF

Accessibility & contrast

On white

11.63
#2C3272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C3272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3272
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3272#FFFFFF#000000##FFFFFF
##2C32721.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3272;
/* rgb */ color: rgb(44, 50, 114);
/* oklch */ color: oklch(35.0% 0.109 275.2);
Tailwind
colors: {
  custom: {
    50: '#6c699b',
    500: '#2c3272',
    950: '#000000',
  },
}
SCSS
$custom: #2c3272;
$custom-light: #6c699b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3272",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 234.857,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.10898,
    "h": 275.2
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#2C3272
secondary
#A49D56
accent
#C954D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3272

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

Preview Lab → · Contrast checker → · Palette generator →

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