#2C377D#2C377D

#2C377D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.119 H 272.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2C377D
RGBrgb(44, 55, 125)
HSLhsl(232, 48%, 33%)
HSVhsv(232, 65%, 49%)
CMYKcmyk(64.8%, 56%, 0%, 51%)
CIE-LABlab(26.00, 19.19, -41.25)
CIE-LCHlch(26.00, 45.50, 294.95°)
OKLaboklab(36.95% 0.0052 -0.1184)
OKLCHoklch(36.95% 0.119 272.5)
XYZxyz(6.1053, 4.7480, 19.9928)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C377D #7D722C
analogous
#2C5F7D #2C377D #492C7D
triadic
#2C377D #7D2C37 #377D2C
tetradic
#2C377D #7D2C5F #7D722C #2C7D49
square
#2C377D #7D2C5F #7D722C #2C7D49
split-complementary
#2C377D #7D492C #5F7D2C
monochromatic
#0C0F22 #1C2350 #2C377D #3C4BAA #5D6CC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C377D#FFFFFF#000000##FFFFFF
##2C377D1.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)
#07417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c377d;
/* rgb */ color: rgb(44, 55, 125);
/* oklch */ color: oklch(36.9% 0.119 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e6da3',
    500: '#2c377d',
    950: '#000000',
  },
}
SCSS
$custom: #2c377d;
$custom-light: #6e6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c377d",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 231.852,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36949,
    "c": 0.11852,
    "h": 272.5
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#2C377D
secondary
#ACA159
accent
#C550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C377D

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

Preview Lab → · Contrast checker → · Palette generator →

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