#2C3374#2C3374

#2C3374 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.111 H 274.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2C3374
RGBrgb(44, 51, 116)
HSLhsl(234, 45%, 31%)
HSVhsv(234, 62%, 45%)
CMYKcmyk(62.1%, 56%, 0%, 54.5%)
CIE-LABlab(24.21, 18.61, -38.46)
CIE-LCHlch(24.21, 42.72, 295.82°)
OKLaboklab(35.38% 0.0089 -0.1102)
OKLCHoklch(35.38% 0.111 274.6)
XYZxyz(5.3739, 4.1637, 17.0401)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3374 #746D2C
analogous
#2C5774 #2C3374 #492C74
triadic
#2C3374 #742C33 #33742C
tetradic
#2C3374 #742C57 #746D2C #2C7449
square
#2C3374 #742C57 #746D2C #2C7449
split-complementary
#2C3374 #74492C #57742C
monochromatic
#0A0C1B #1B1F48 #2C3374 #3D47A0 #5A64C0

Accessibility & contrast

On white

11.46
#2C3374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C3374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3374
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3374#FFFFFF#000000##FFFFFF
##2C33741.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3D76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c3374;
/* rgb */ color: rgb(44, 51, 116);
/* oklch */ color: oklch(35.4% 0.111 274.6);
Tailwind
colors: {
  custom: {
    50: '#6d6a9c',
    500: '#2c3374',
    950: '#000000',
  },
}
SCSS
$custom: #2c3374;
$custom-light: #6d6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3374",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 234.167,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35383,
    "c": 0.11059,
    "h": 274.6
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#2C3374
secondary
#A69E56
accent
#C853D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C3374

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

Preview Lab → · Contrast checker → · Palette generator →

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