#2C3191#2C3191

#2C3191 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.155 H 273.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2C3191
RGBrgb(44, 49, 145)
HSLhsl(237, 53%, 37%)
HSVhsv(237, 70%, 57%)
CMYKcmyk(69.7%, 66.2%, 0%, 43.1%)
CIE-LABlab(26.09, 30.61, -53.59)
CIE-LCHlch(26.09, 61.71, 299.73°)
OKLaboklab(37.53% 0.0104 -0.1547)
OKLCHoklch(37.53% 0.155 273.8)
XYZxyz(7.2462, 4.7758, 27.3225)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3191 #918C2C
analogous
#2C6391 #2C3191 #5A2C91
triadic
#2C3191 #912C31 #31912C
tetradic
#2C3191 #912C63 #918C2C #2C915A
square
#2C3191 #912C63 #918C2C #2C915A
split-complementary
#2C3191 #915A2C #63912C
monochromatic
#101133 #1E2162 #2C3191 #3A41C0 #676CD1

Accessibility & contrast

On white

10.74
#2C3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3191
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3191#FFFFFF#000000##FFFFFF
##2C31911.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3191;
/* rgb */ color: rgb(44, 49, 145);
/* oklch */ color: oklch(37.5% 0.155 273.8);
Tailwind
colors: {
  custom: {
    50: '#7369b2',
    500: '#2c3191',
    950: '#000000',
  },
}
SCSS
$custom: #2c3191;
$custom-light: #7369b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3191",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 237.03,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.15504,
    "h": 273.8
  },
  "luminance": 0.04776
}

Semantic roles & 50–950 ramp

primary
#2C3191
secondary
#B7B362
accent
#D64BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3191

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

Preview Lab → · Contrast checker → · Palette generator →

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