#2C3988#2C3988

#2C3988 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.132 H 271.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C3988
RGBrgb(44, 57, 136)
HSLhsl(232, 51%, 35%)
HSVhsv(232, 68%, 53%)
CMYKcmyk(67.6%, 58.1%, 0%, 46.7%)
CIE-LABlab(27.40, 21.94, -45.87)
CIE-LCHlch(27.40, 50.84, 295.56°)
OKLaboklab(38.27% 0.0038 -0.1319)
OKLCHoklch(38.27% 0.132 271.6)
XYZxyz(6.9443, 5.2387, 23.9330)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3988 #887B2C
analogous
#2C6788 #2C3988 #4D2C88
triadic
#2C3988 #882C39 #39882C
tetradic
#2C3988 #882C67 #887B2C #2C884D
square
#2C3988 #882C67 #887B2C #2C884D
split-complementary
#2C3988 #884D2C #67882C
monochromatic
#0E122C #1D265A #2C3988 #3B4CB6 #6271CC

Accessibility & contrast

On white

10.25
#2C3988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C3988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3988
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3988#FFFFFF#000000##FFFFFF
##2C39881.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3988;
/* rgb */ color: rgb(44, 57, 136);
/* oklch */ color: oklch(38.3% 0.132 271.6);
Tailwind
colors: {
  custom: {
    50: '#716fab',
    500: '#2c3988',
    950: '#000000',
  },
}
SCSS
$custom: #2c3988;
$custom-light: #716fab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3988",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 231.522,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.13199,
    "h": 271.6
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#2C3988
secondary
#B3A65D
accent
#C74DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3988

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

Preview Lab → · Contrast checker → · Palette generator →

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