#2C3CAB#2C3CAB

#2C3CAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.177 H 270.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2C3CAB
RGBrgb(44, 60, 171)
HSLhsl(232, 59%, 42%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(74.3%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.13, 32.92, -61.13)
CIE-LCHlch(31.13, 69.43, 298.31°)
OKLaboklab(41.94% 0.0009 -0.1767)
OKLCHoklch(41.94% 0.177 270.3)
XYZxyz(10.0027, 6.7064, 39.2875)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CAB #AB9B2C
analogous
#2C7CAB #2C3CAB #5C2CAB
triadic
#2C3CAB #AB2C3C #3CAB2C
tetradic
#2C3CAB #AB2C7C #AB9B2C #2CAB5C
square
#2C3CAB #AB2C7C #AB9B2C #2CAB5C
split-complementary
#2C3CAB #AB5C2C #7CAB2C
monochromatic
#131A4A #1F2B7A #2C3CAB #4556CF #7683DC

Accessibility & contrast

On white

8.97
#2C3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CAB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CAB#FFFFFF#000000##FFFFFF
##2C3CAB1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3cab;
/* rgb */ color: rgb(44, 60, 171);
/* oklch */ color: oklch(41.9% 0.177 270.3);
Tailwind
colors: {
  custom: {
    50: '#7871c5',
    500: '#2c3cab',
    950: '#000000',
  },
}
SCSS
$custom: #2c3cab;
$custom-light: #7871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3cab",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 232.441,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.17671,
    "h": 270.3
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#2C3CAB
secondary
#C3B96F
accent
#CF46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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