#2C3FAD#2C3FAD

#2C3FAD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.176 H 269.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2C3FAD
RGBrgb(44, 63, 173)
HSLhsl(231, 59%, 43%)
HSVhsv(231, 75%, 68%)
CMYKcmyk(74.6%, 63.6%, 0%, 32.2%)
CIE-LABlab(32.05, 31.71, -60.82)
CIE-LCHlch(32.05, 68.59, 297.54°)
OKLaboklab(42.67% -0.0012 -0.1758)
OKLCHoklch(42.67% 0.176 269.6)
XYZxyz(10.3564, 7.1065, 40.3529)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FAD #AD9A2C
analogous
#2C7FAD #2C3FAD #5A2CAD
triadic
#2C3FAD #AD2C3F #3FAD2C
tetradic
#2C3FAD #AD2C7F #AD9A2C #2CAD5A
square
#2C3FAD #AD2C7F #AD9A2C #2CAD5A
split-complementary
#2C3FAD #AD5A2C #7FAD2C
monochromatic
#131B4B #202D7C #2C3FAD #465AD0 #7786DC

Accessibility & contrast

On white

8.67
#2C3FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C3FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FAD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FAD#FFFFFF#000000##FFFFFF
##2C3FAD1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3fad;
/* rgb */ color: rgb(44, 63, 173);
/* oklch */ color: oklch(42.7% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#7974c6',
    500: '#2c3fad',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fad;
$custom-light: #7974c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fad",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 173
  },
  "hsl": {
    "h": 231.163,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.17578,
    "h": 269.6
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#2C3FAD
secondary
#C4B871
accent
#CB45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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