#2C3891#2C3891

#2C3891 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.146 H 271.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2C3891
RGBrgb(44, 56, 145)
HSLhsl(233, 53%, 37%)
HSVhsv(233, 70%, 57%)
CMYKcmyk(69.7%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.87, 25.97, -50.68)
CIE-LCHlch(27.87, 56.95, 297.13°)
OKLaboklab(38.84% 0.0047 -0.1461)
OKLCHoklch(38.84% 0.146 271.9)
XYZxyz(7.5620, 5.4074, 27.4278)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3891 #91852C
analogous
#2C6B91 #2C3891 #522C91
triadic
#2C3891 #912C38 #38912C
tetradic
#2C3891 #912C6B #91852C #2C9152
square
#2C3891 #912C6B #91852C #2C9152
split-complementary
#2C3891 #91522C #6B912C
monochromatic
#101433 #1E2662 #2C3891 #3A4AC0 #6773D1

Accessibility & contrast

On white

10.09
#2C3891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C3891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3891
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3891#FFFFFF#000000##FFFFFF
##2C38911.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3891;
/* rgb */ color: rgb(44, 56, 145);
/* oklch */ color: oklch(38.8% 0.146 271.9);
Tailwind
colors: {
  custom: {
    50: '#736eb2',
    500: '#2c3891',
    950: '#000000',
  },
}
SCSS
$custom: #2c3891;
$custom-light: #736eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3891",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 232.871,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.14619,
    "h": 271.9
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#2C3891
secondary
#B7AD62
accent
#CB4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3891

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

Preview Lab → · Contrast checker → · Palette generator →

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