#2C3AA4#2C3AA4

#2C3AA4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.170 H 270.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2C3AA4
RGBrgb(44, 58, 164)
HSLhsl(233, 58%, 41%)
HSVhsv(233, 73%, 64%)
CMYKcmyk(73.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(30.01, 31.66, -58.75)
CIE-LCHlch(30.01, 66.74, 298.32°)
OKLaboklab(40.93% 0.0026 -0.1698)
OKLCHoklch(40.93% 0.17 270.9)
XYZxyz(9.2503, 6.2410, 35.8319)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AA4 #A4962C
analogous
#2C76A4 #2C3AA4 #5A2CA4
triadic
#2C3AA4 #A42C3A #3AA42C
tetradic
#2C3AA4 #A42C76 #A4962C #2CA45A
square
#2C3AA4 #A42C76 #A4962C #2CA45A
split-complementary
#2C3AA4 #A45A2C #76A42C
monochromatic
#121843 #1F2974 #2C3AA4 #4151CC #717DD9

Accessibility & contrast

On white

9.34
#2C3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C3AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AA4
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AA4#FFFFFF#000000##FFFFFF
##2C3AA41.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3aa4;
/* rgb */ color: rgb(44, 58, 164);
/* oklch */ color: oklch(40.9% 0.170 270.9);
Tailwind
colors: {
  custom: {
    50: '#7770c0',
    500: '#2c3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aa4;
$custom-light: #7770c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aa4",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 233,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.16978,
    "h": 270.9
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#2C3AA4
secondary
#C0B66B
accent
#CF47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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