#2C3190#2C3190

#2C3190 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.154 H 273.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2C3190
RGBrgb(44, 49, 144)
HSLhsl(237, 53%, 37%)
HSVhsv(237, 69%, 56%)
CMYKcmyk(69.4%, 66%, 0%, 43.5%)
CIE-LABlab(26.00, 30.24, -53.12)
CIE-LCHlch(26.00, 61.12, 299.66°)
OKLaboklab(37.43% 0.0104 -0.1533)
OKLCHoklch(37.43% 0.154 273.9)
XYZxyz(7.1694, 4.7451, 26.9182)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3190 #908B2C
analogous
#2C6390 #2C3190 #592C90
triadic
#2C3190 #902C31 #31902C
tetradic
#2C3190 #902C63 #908B2C #2C9059
square
#2C3190 #902C63 #908B2C #2C9059
split-complementary
#2C3190 #90592C #63902C
monochromatic
#0F1132 #1E2161 #2C3190 #3A41BF #666BD0

Accessibility & contrast

On white

10.77
#2C3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3190
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3190#FFFFFF#000000##FFFFFF
##2C31901.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3190;
/* rgb */ color: rgb(44, 49, 144);
/* oklch */ color: oklch(37.4% 0.154 273.9);
Tailwind
colors: {
  custom: {
    50: '#7369b1',
    500: '#2c3190',
    950: '#000000',
  },
}
SCSS
$custom: #2c3190;
$custom-light: #7369b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3190",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 237,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.15366,
    "h": 273.9
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#2C3190
secondary
#B7B261
accent
#D54BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3190

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

Preview Lab → · Contrast checker → · Palette generator →

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