#2C3AB7#2C3AB7

#2C3AB7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.195 H 270.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2C3AB7
RGBrgb(44, 58, 183)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(76%, 68.3%, 0%, 28.2%)
CIE-LABlab(31.76, 38.51, -67.24)
CIE-LCHlch(31.76, 77.49, 299.80°)
OKLaboklab(42.74% 0.0012 -0.1946)
OKLCHoklch(42.74% 0.195 270.3)
XYZxyz(11.0961, 6.9793, 45.5529)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AB7 #B7A92C
analogous
#2C80B7 #2C3AB7 #642CB7
triadic
#2C3AB7 #B72C3A #3AB72C
tetradic
#2C3AB7 #B72C80 #B7A92C #2CB764
square
#2C3AB7 #B72C80 #B7A92C #2CB764
split-complementary
#2C3AB7 #B7642C #80B72C
monochromatic
#141B54 #202A86 #2C3AB7 #4C5AD4 #7E87E0

Accessibility & contrast

On white

8.76
#2C3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AB7
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AB7#FFFFFF#000000##FFFFFF
##2C3AB71.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3ab7;
/* rgb */ color: rgb(44, 58, 183);
/* oklch */ color: oklch(42.7% 0.195 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b70ce',
    500: '#2c3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ab7;
$custom-light: #7b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ab7",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 233.957,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.19459,
    "h": 270.3
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#2C3AB7
secondary
#C8C076
accent
#D443E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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