#2C378F#2C378F

#2C378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.145 H 272.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2C378F
RGBrgb(44, 55, 143)
HSLhsl(233, 53%, 37%)
HSVhsv(233, 69%, 56%)
CMYKcmyk(69.2%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.44, 25.90, -50.15)
CIE-LCHlch(27.44, 56.44, 297.32°)
OKLaboklab(38.47% 0.0056 -0.1446)
OKLCHoklch(38.47% 0.145 272.2)
XYZxyz(7.3612, 5.2503, 26.6068)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C378F #8F842C
analogous
#2C698F #2C378F #532C8F
triadic
#2C378F #8F2C37 #378F2C
tetradic
#2C378F #8F2C69 #8F842C #2C8F53
square
#2C378F #8F2C69 #8F842C #2C8F53
split-complementary
#2C378F #8F532C #698F2C
monochromatic
#0F1331 #1E2560 #2C378F #3A49BE #6671D0

Accessibility & contrast

On white

10.24
#2C378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C378F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C378F#FFFFFF#000000##FFFFFF
##2C378F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c378f;
/* rgb */ color: rgb(44, 55, 143);
/* oklch */ color: oklch(38.5% 0.145 272.2);
Tailwind
colors: {
  custom: {
    50: '#726db1',
    500: '#2c378f',
    950: '#000000',
  },
}
SCSS
$custom: #2c378f;
$custom-light: #726db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c378f",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 233.333,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.14466,
    "h": 272.2
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#2C378F
secondary
#B6AD61
accent
#CC4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C378F

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

Preview Lab → · Contrast checker → · Palette generator →

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