#2C3084#2C3084

#2C3084 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.138 H 275.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2C3084
RGBrgb(44, 48, 132)
HSLhsl(237, 50%, 35%)
HSVhsv(237, 67%, 52%)
CMYKcmyk(66.7%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.69, 26.54, -47.79)
CIE-LCHlch(24.69, 54.67, 299.05°)
OKLaboklab(36.15% 0.012 -0.1377)
OKLCHoklch(36.15% 0.138 275)
XYZxyz(6.2591, 4.3148, 22.3283)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3084 #84802C
analogous
#2C5C84 #2C3084 #542C84
triadic
#2C3084 #842C30 #30842C
tetradic
#2C3084 #842C5C #84802C #2C8454
square
#2C3084 #842C5C #84802C #2C8454
split-complementary
#2C3084 #84542C #5C842C
monochromatic
#0D0F28 #1D1F56 #2C3084 #3B41B2 #6065CA

Accessibility & contrast

On white

11.27
#2C3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C3084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3084
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3084#FFFFFF#000000##FFFFFF
##2C30841.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c3084;
/* rgb */ color: rgb(44, 48, 132);
/* oklch */ color: oklch(36.1% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#7068a9',
    500: '#2c3084',
    950: '#000000',
  },
}
SCSS
$custom: #2c3084;
$custom-light: #7068a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3084",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 237.273,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.13822,
    "h": 275
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#2C3084
secondary
#B0AC5C
accent
#D34EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C3084

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

Preview Lab → · Contrast checker → · Palette generator →

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