#2C3995#2C3995

#2C3995 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.151 H 271.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2C3995
RGBrgb(44, 57, 149)
HSLhsl(233, 54%, 38%)
HSVhsv(233, 70%, 58%)
CMYKcmyk(70.5%, 61.7%, 0%, 41.6%)
CIE-LABlab(28.46, 26.79, -52.17)
CIE-LCHlch(28.46, 58.64, 297.18°)
OKLaboklab(39.38% 0.0039 -0.1505)
OKLCHoklch(39.38% 0.151 271.5)
XYZxyz(7.9248, 5.6309, 29.0972)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3995 #95882C
analogous
#2C6E95 #2C3995 #532C95
triadic
#2C3995 #952C39 #39952C
tetradic
#2C3995 #952C6E #95882C #2C9553
square
#2C3995 #952C6E #95882C #2C9553
split-complementary
#2C3995 #95532C #6E952C
monochromatic
#101537 #1E2766 #2C3995 #3A4BC4 #6976D3

Accessibility & contrast

On white

9.88
#2C3995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C3995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3995
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3995#FFFFFF#000000##FFFFFF
##2C39951.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3995;
/* rgb */ color: rgb(44, 57, 149);
/* oklch */ color: oklch(39.4% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#736fb5',
    500: '#2c3995',
    950: '#000000',
  },
}
SCSS
$custom: #2c3995;
$custom-light: #736fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3995",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 232.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.15051,
    "h": 271.5
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#2C3995
secondary
#B9AF64
accent
#CB4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3995

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

Preview Lab → · Contrast checker → · Palette generator →

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