#2C378C#2C378C

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

Color values

HEX#2C378C
RGBrgb(44, 55, 140)
HSLhsl(233, 52%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(68.6%, 60.7%, 0%, 45.1%)
CIE-LABlab(27.19, 24.79, -48.70)
CIE-LCHlch(27.19, 54.64, 296.98°)
OKLaboklab(38.21% 0.0056 -0.1403)
OKLCHoklch(38.21% 0.14 272.3)
XYZxyz(7.1369, 5.1606, 25.4258)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C378C #8C812C
analogous
#2C678C #2C378C #512C8C
triadic
#2C378C #8C2C37 #378C2C
tetradic
#2C378C #8C2C67 #8C812C #2C8C51
square
#2C378C #8C2C67 #8C812C #2C8C51
split-complementary
#2C378C #8C512C #678C2C
monochromatic
#0F122F #1D255D #2C378C #3B49BB #6470CE

Accessibility & contrast

On white

10.33
#2C378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C378C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C378C#FFFFFF#000000##FFFFFF
##2C378C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c378c;
/* rgb */ color: rgb(44, 55, 140);
/* oklch */ color: oklch(38.2% 0.140 272.3);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2c378c',
    950: '#000000',
  },
}
SCSS
$custom: #2c378c;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c378c",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 233.125,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38205,
    "c": 0.1404,
    "h": 272.3
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#2C378C
secondary
#B5AB5F
accent
#CB4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C378C

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

Preview Lab → · Contrast checker → · Palette generator →

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