#2C377F#2C377F

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

Color values

HEX#2C377F
RGBrgb(44, 55, 127)
HSLhsl(232, 49%, 34%)
HSVhsv(232, 65%, 50%)
CMYKcmyk(65.4%, 56.7%, 0%, 50.2%)
CIE-LABlab(26.16, 19.94, -42.27)
CIE-LCHlch(26.16, 46.73, 295.25°)
OKLaboklab(37.11% 0.0053 -0.1214)
OKLCHoklch(37.11% 0.122 272.5)
XYZxyz(6.2344, 4.7996, 20.6724)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C377F #7F742C
analogous
#2C607F #2C377F #4A2C7F
triadic
#2C377F #7F2C37 #377F2C
tetradic
#2C377F #7F2C60 #7F742C #2C7F4A
square
#2C377F #7F2C60 #7F742C #2C7F4A
split-complementary
#2C377F #7F4A2C #607F2C
monochromatic
#0D1024 #1C2352 #2C377F #3C4BAC #5E6CC7

Accessibility & contrast

On white

10.71
#2C377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C377F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C377F#FFFFFF#000000##FFFFFF
##2C377F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c377f;
/* rgb */ color: rgb(44, 55, 127);
/* oklch */ color: oklch(37.1% 0.121 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f6da5',
    500: '#2c377f',
    950: '#000000',
  },
}
SCSS
$custom: #2c377f;
$custom-light: #6f6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c377f",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 232.048,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37111,
    "c": 0.1215,
    "h": 272.5
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C377F

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

Preview Lab → · Contrast checker → · Palette generator →

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