#2C3195#2C3195

#2C3195 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.160 H 273.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2C3195
RGBrgb(44, 49, 149)
HSLhsl(237, 54%, 38%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(70.5%, 67.1%, 0%, 41.6%)
CIE-LABlab(26.45, 32.05, -55.45)
CIE-LCHlch(26.45, 64.05, 300.03°)
OKLaboklab(37.91% 0.01 -0.1601)
OKLCHoklch(37.91% 0.16 273.6)
XYZxyz(7.5600, 4.9013, 28.9756)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3195 #95902C
analogous
#2C6595 #2C3195 #5B2C95
triadic
#2C3195 #952C31 #31952C
tetradic
#2C3195 #952C65 #95902C #2C955B
square
#2C3195 #952C65 #95902C #2C955B
split-complementary
#2C3195 #955B2C #65952C
monochromatic
#101237 #1E2166 #2C3195 #3A41C4 #696ED3

Accessibility & contrast

On white

10.60
#2C3195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C3195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3195
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3195#FFFFFF#000000##FFFFFF
##2C31951.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3195;
/* rgb */ color: rgb(44, 49, 149);
/* oklch */ color: oklch(37.9% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#7469b5',
    500: '#2c3195',
    950: '#000000',
  },
}
SCSS
$custom: #2c3195;
$custom-light: #7469b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3195",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 237.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37907,
    "c": 0.16046,
    "h": 273.6
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#2C3195
secondary
#B9B564
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3195

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

Preview Lab → · Contrast checker → · Palette generator →

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