#2C3AB1#2C3AB1

#2C3AB1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.187 H 270.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2C3AB1
RGBrgb(44, 58, 177)
HSLhsl(234, 60%, 43%)
HSVhsv(234, 75%, 69%)
CMYKcmyk(75.1%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.20, 36.37, -64.60)
CIE-LCHlch(31.20, 74.14, 299.38°)
OKLaboklab(42.16% 0.0017 -0.1869)
OKLCHoklch(42.16% 0.187 270.5)
XYZxyz(10.4849, 6.7348, 42.3338)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AB1 #B1A32C
analogous
#2C7CB1 #2C3AB1 #602CB1
triadic
#2C3AB1 #B12C3A #3AB12C
tetradic
#2C3AB1 #B12C7C #B1A32C #2CB160
square
#2C3AB1 #B12C7C #B1A32C #2CB160
split-complementary
#2C3AB1 #B1602C #7CB12C
monochromatic
#141A4F #202A80 #2C3AB1 #4957D2 #7A84DE

Accessibility & contrast

On white

8.95
#2C3AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C3AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AB1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AB1#FFFFFF#000000##FFFFFF
##2C3AB11.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3ab1;
/* rgb */ color: rgb(44, 58, 177);
/* oklch */ color: oklch(42.2% 0.187 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a70c9',
    500: '#2c3ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ab1;
$custom-light: #7a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ab1",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 233.684,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42155,
    "c": 0.18689,
    "h": 270.5
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#2C3AB1
secondary
#C6BD73
accent
#D344E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C3AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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