#2C3992#2C3992

#2C3992 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.146 H 271.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2C3992
RGBrgb(44, 57, 146)
HSLhsl(232, 54%, 37%)
HSVhsv(232, 70%, 57%)
CMYKcmyk(69.9%, 61%, 0%, 42.7%)
CIE-LABlab(28.21, 25.67, -50.73)
CIE-LCHlch(28.21, 56.86, 296.84°)
OKLaboklab(39.12% 0.0039 -0.1462)
OKLCHoklch(39.12% 0.146 271.5)
XYZxyz(7.6884, 5.5363, 27.8520)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3992 #92852C
analogous
#2C6C92 #2C3992 #522C92
triadic
#2C3992 #922C39 #39922C
tetradic
#2C3992 #922C6C #92852C #2C9252
square
#2C3992 #922C6C #92852C #2C9252
split-complementary
#2C3992 #92522C #6C922C
monochromatic
#101434 #1E2763 #2C3992 #3A4BC1 #6775D1

Accessibility & contrast

On white

9.96
#2C3992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C3992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3992
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3992#FFFFFF#000000##FFFFFF
##2C39921.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3992;
/* rgb */ color: rgb(44, 57, 146);
/* oklch */ color: oklch(39.1% 0.146 271.5);
Tailwind
colors: {
  custom: {
    50: '#736fb3',
    500: '#2c3992',
    950: '#000000',
  },
}
SCSS
$custom: #2c3992;
$custom-light: #736fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3992",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 232.353,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.1463,
    "h": 271.5
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#2C3992
secondary
#B8AD62
accent
#CA4BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3992

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

Preview Lab → · Contrast checker → · Palette generator →

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