#2C378D#2C378D

#2C378D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.142 H 272.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2C378D
RGBrgb(44, 55, 141)
HSLhsl(233, 52%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(68.8%, 61%, 0%, 44.7%)
CIE-LABlab(27.27, 25.16, -49.18)
CIE-LCHlch(27.27, 55.24, 297.09°)
OKLaboklab(38.29% 0.0056 -0.1417)
OKLCHoklch(38.29% 0.142 272.3)
XYZxyz(7.2110, 5.1903, 25.8159)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C378D #8D822C
analogous
#2C688D #2C378D #522C8D
triadic
#2C378D #8D2C37 #378D2C
tetradic
#2C378D #8D2C68 #8D822C #2C8D52
square
#2C378D #8D2C68 #8D822C #2C8D52
split-complementary
#2C378D #8D522C #688D2C
monochromatic
#0F1330 #1D255E #2C378D #3B49BC #6571CF

Accessibility & contrast

On white

10.30
#2C378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C378D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C378D#FFFFFF#000000##FFFFFF
##2C378D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c378d;
/* rgb */ color: rgb(44, 55, 141);
/* oklch */ color: oklch(38.3% 0.142 272.3);
Tailwind
colors: {
  custom: {
    50: '#726daf',
    500: '#2c378d',
    950: '#000000',
  },
}
SCSS
$custom: #2c378d;
$custom-light: #726daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c378d",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 233.196,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.14183,
    "h": 272.3
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#2C378D
secondary
#B5AB60
accent
#CC4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C378D

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

Preview Lab → · Contrast checker → · Palette generator →

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