#2C378E#2C378E

#2C378E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.143 H 272.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2C378E
RGBrgb(44, 55, 142)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 69%, 56%)
CMYKcmyk(69%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.35, 25.53, -49.67)
CIE-LCHlch(27.35, 55.84, 297.20°)
OKLaboklab(38.38% 0.0056 -0.1431)
OKLCHoklch(38.38% 0.143 272.2)
XYZxyz(7.2857, 5.2202, 26.2096)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C378E #8E832C
analogous
#2C688E #2C378E #522C8E
triadic
#2C378E #8E2C37 #378E2C
tetradic
#2C378E #8E2C68 #8E832C #2C8E52
square
#2C378E #8E2C68 #8E832C #2C8E52
split-complementary
#2C378E #8E522C #688E2C
monochromatic
#0F1331 #1E255F #2C378E #3A49BD #6571CF

Accessibility & contrast

On white

10.27
#2C378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C378E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C378E#FFFFFF#000000##FFFFFF
##2C378E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c378e;
/* rgb */ color: rgb(44, 55, 142);
/* oklch */ color: oklch(38.4% 0.143 272.2);
Tailwind
colors: {
  custom: {
    50: '#726db0',
    500: '#2c378e',
    950: '#000000',
  },
}
SCSS
$custom: #2c378e;
$custom-light: #726db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c378e",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 233.265,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.14325,
    "h": 272.2
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C378E

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

Preview Lab → · Contrast checker → · Palette generator →

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