#2C3188#2C3188

#2C3188 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.143 H 274.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2C3188
RGBrgb(44, 49, 136)
HSLhsl(237, 51%, 35%)
HSVhsv(237, 68%, 53%)
CMYKcmyk(67.6%, 64%, 0%, 46.7%)
CIE-LABlab(25.29, 27.34, -49.31)
CIE-LCHlch(25.29, 56.38, 299.00°)
OKLaboklab(36.7% 0.011 -0.1421)
OKLCHoklch(36.7% 0.143 274.4)
XYZxyz(6.5795, 4.5091, 23.8114)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3188 #88832C
analogous
#2C5F88 #2C3188 #552C88
triadic
#2C3188 #882C31 #31882C
tetradic
#2C3188 #882C5F #88832C #2C8855
square
#2C3188 #882C5F #88832C #2C8855
split-complementary
#2C3188 #88552C #5F882C
monochromatic
#0E102C #1D205A #2C3188 #3B42B6 #6268CC

Accessibility & contrast

On white

11.04
#2C3188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C3188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3188
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3188#FFFFFF#000000##FFFFFF
##2C31881.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3188;
/* rgb */ color: rgb(44, 49, 136);
/* oklch */ color: oklch(36.7% 0.143 274.4);
Tailwind
colors: {
  custom: {
    50: '#7169ab',
    500: '#2c3188',
    950: '#000000',
  },
}
SCSS
$custom: #2c3188;
$custom-light: #7169ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3188",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 236.739,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36696,
    "c": 0.14257,
    "h": 274.4
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#2C3188
secondary
#B3AE5D
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C3188

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

Preview Lab → · Contrast checker → · Palette generator →

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