#2C3BAD#2C3BAD

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

Color values

HEX#2C3BAD
RGBrgb(44, 59, 173)
HSLhsl(233, 59%, 43%)
HSVhsv(233, 75%, 68%)
CMYKcmyk(74.6%, 65.9%, 0%, 32.2%)
CIE-LABlab(31.07, 34.29, -62.43)
CIE-LCHlch(31.07, 71.23, 298.78°)
OKLaboklab(41.95% 0.0014 -0.1805)
OKLCHoklch(41.95% 0.181 270.4)
XYZxyz(10.1429, 6.6795, 40.2818)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BAD #AD9E2C
analogous
#2C7CAD #2C3BAD #5D2CAD
triadic
#2C3BAD #AD2C3B #3BAD2C
tetradic
#2C3BAD #AD2C7C #AD9E2C #2CAD5D
square
#2C3BAD #AD2C7C #AD9E2C #2CAD5D
split-complementary
#2C3BAD #AD5D2C #7CAD2C
monochromatic
#131A4B #202A7C #2C3BAD #4656D0 #7783DC

Accessibility & contrast

On white

8.99
#2C3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3BAD
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BAD#FFFFFF#000000##FFFFFF
##2C3BAD1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3bad;
/* rgb */ color: rgb(44, 59, 173);
/* oklch */ color: oklch(41.9% 0.181 270.4);
Tailwind
colors: {
  custom: {
    50: '#7971c6',
    500: '#2c3bad',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bad;
$custom-light: #7971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bad",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 233.023,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.18053,
    "h": 270.4
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#2C3BAD
secondary
#C4BB71
accent
#D045E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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