#2C3877#2C3877

#2C3877 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.108 H 271.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2C3877
RGBrgb(44, 56, 119)
HSLhsl(230, 46%, 32%)
HSVhsv(230, 63%, 47%)
CMYKcmyk(63%, 52.9%, 0%, 53.3%)
CIE-LABlab(25.85, 16.26, -37.72)
CIE-LCHlch(25.85, 41.07, 293.32°)
OKLaboklab(36.69% 0.0037 -0.108)
OKLCHoklch(36.69% 0.108 271.9)
XYZxyz(5.7815, 4.6953, 18.0508)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3877 #776B2C
analogous
#2C5E77 #2C3877 #462C77
triadic
#2C3877 #772C38 #38772C
tetradic
#2C3877 #772C5E #776B2C #2C7746
square
#2C3877 #772C5E #776B2C #2C7746
split-complementary
#2C3877 #77462C #5E772C
monochromatic
#0B0E1E #1B234A #2C3877 #3D4DA4 #5B6CC2

Accessibility & contrast

On white

10.83
#2C3877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C3877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3877
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3877#FFFFFF#000000##FFFFFF
##2C38771.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154179
Deuteranopia (green-blind)
#043A76
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3877;
/* rgb */ color: rgb(44, 56, 119);
/* oklch */ color: oklch(36.7% 0.108 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d6e9f',
    500: '#2c3877',
    950: '#000000',
  },
}
SCSS
$custom: #2c3877;
$custom-light: #6d6e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3877",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 230.4,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36691,
    "c": 0.10804,
    "h": 271.9
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#2C3877
secondary
#A89B56
accent
#C152D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2C3877

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

Preview Lab → · Contrast checker → · Palette generator →

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