#2C3076#2C3076

#2C3076 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.118 H 276.0°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2C3076
RGBrgb(44, 48, 118)
HSLhsl(237, 46%, 32%)
HSVhsv(237, 63%, 46%)
CMYKcmyk(62.7%, 59.3%, 0%, 53.7%)
CIE-LABlab(23.53, 21.41, -40.83)
CIE-LCHlch(23.53, 46.10, 297.67°)
OKLaboklab(34.93% 0.0123 -0.1172)
OKLCHoklch(34.93% 0.118 276)
XYZxyz(5.3646, 3.9570, 17.6171)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3076 #76722C
analogous
#2C5576 #2C3076 #4D2C76
triadic
#2C3076 #762C30 #30762C
tetradic
#2C3076 #762C55 #76722C #2C764D
square
#2C3076 #762C55 #76722C #2C764D
split-complementary
#2C3076 #764D2C #55762C
monochromatic
#0B0C1D #1B1E49 #2C3076 #3D42A3 #5B60C2

Accessibility & contrast

On white

11.72
#2C3076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C3076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3076
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3076#FFFFFF#000000##FFFFFF
##2C30761.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3076;
/* rgb */ color: rgb(44, 48, 118);
/* oklch */ color: oklch(34.9% 0.118 276.0);
Tailwind
colors: {
  custom: {
    50: '#6d689e',
    500: '#2c3076',
    950: '#000000',
  },
}
SCSS
$custom: #2c3076;
$custom-light: #6d689e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3076",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 236.757,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.11787,
    "h": 276
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#2C3076
secondary
#A7A356
accent
#CE52D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2C3076

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

Preview Lab → · Contrast checker → · Palette generator →

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