#2C377E#2C377E

#2C377E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.120 H 272.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2C377E
RGBrgb(44, 55, 126)
HSLhsl(232, 48%, 33%)
HSVhsv(232, 65%, 49%)
CMYKcmyk(65.1%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.08, 19.56, -41.76)
CIE-LCHlch(26.08, 46.12, 295.10°)
OKLaboklab(37.03% 0.0053 -0.1199)
OKLCHoklch(37.03% 0.12 272.5)
XYZxyz(6.1695, 4.7737, 20.3309)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C377E #7E732C
analogous
#2C607E #2C377E #4A2C7E
triadic
#2C377E #7E2C37 #377E2C
tetradic
#2C377E #7E2C60 #7E732C #2C7E4A
square
#2C377E #7E2C60 #7E732C #2C7E4A
split-complementary
#2C377E #7E4A2C #607E2C
monochromatic
#0C0F23 #1C2351 #2C377E #3C4BAB #5E6CC7

Accessibility & contrast

On white

10.74
#2C377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C377E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C377E#FFFFFF#000000##FFFFFF
##2C377E1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c377e;
/* rgb */ color: rgb(44, 55, 126);
/* oklch */ color: oklch(37.0% 0.120 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f6da4',
    500: '#2c377e',
    950: '#000000',
  },
}
SCSS
$custom: #2c377e;
$custom-light: #6f6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c377e",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 231.951,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37029,
    "c": 0.12001,
    "h": 272.5
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#2C377E
secondary
#ADA259
accent
#C650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C377E

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

Preview Lab → · Contrast checker → · Palette generator →

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