#2C3378#2C3378

#2C3378 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.117 H 274.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2C3378
RGBrgb(44, 51, 120)
HSLhsl(234, 46%, 32%)
HSVhsv(234, 63%, 47%)
CMYKcmyk(63.3%, 57.5%, 0%, 52.9%)
CIE-LABlab(24.51, 20.09, -40.51)
CIE-LCHlch(24.51, 45.22, 296.37°)
OKLaboklab(35.71% 0.0092 -0.1163)
OKLCHoklch(35.71% 0.117 274.5)
XYZxyz(5.6116, 4.2587, 18.2920)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3378 #78712C
analogous
#2C5978 #2C3378 #4B2C78
triadic
#2C3378 #782C33 #33782C
tetradic
#2C3378 #782C59 #78712C #2C784B
square
#2C3378 #782C59 #78712C #2C784B
split-complementary
#2C3378 #784B2C #59782C
monochromatic
#0B0D1E #1C204B #2C3378 #3C46A5 #5B65C3

Accessibility & contrast

On white

11.34
#2C3378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C3378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3378
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3378#FFFFFF#000000##FFFFFF
##2C33781.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013E7A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c3378;
/* rgb */ color: rgb(44, 51, 120);
/* oklch */ color: oklch(35.7% 0.117 274.5);
Tailwind
colors: {
  custom: {
    50: '#6e6a9f',
    500: '#2c3378',
    950: '#000000',
  },
}
SCSS
$custom: #2c3378;
$custom-light: #6e6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3378",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 234.474,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.11663,
    "h": 274.5
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#2C3378
secondary
#A9A257
accent
#CA52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #2C3378

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

Preview Lab → · Contrast checker → · Palette generator →

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