#2C3AB4#2C3AB4

#2C3AB4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.191 H 270.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2C3AB4
RGBrgb(44, 58, 180)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(75.6%, 67.8%, 0%, 29.4%)
CIE-LABlab(31.48, 37.44, -65.92)
CIE-LCHlch(31.48, 75.82, 299.59°)
OKLaboklab(42.45% 0.0014 -0.1907)
OKLCHoklch(42.45% 0.191 270.4)
XYZxyz(10.7872, 6.8557, 43.9259)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AB4 #B4A62C
analogous
#2C7EB4 #2C3AB4 #622CB4
triadic
#2C3AB4 #B42C3A #3AB42C
tetradic
#2C3AB4 #B42C7E #B4A62C #2CB462
square
#2C3AB4 #B42C7E #B4A62C #2CB462
split-complementary
#2C3AB4 #B4622C #7EB42C
monochromatic
#141A52 #202A83 #2C3AB4 #4A58D3 #7C86DF

Accessibility & contrast

On white

8.86
#2C3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C3AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AB4
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AB4#FFFFFF#000000##FFFFFF
##2C3AB41.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3ab4;
/* rgb */ color: rgb(44, 58, 180);
/* oklch */ color: oklch(42.4% 0.191 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2c3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ab4;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ab4",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 233.824,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.19076,
    "h": 270.4
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#2C3AB4
secondary
#C7BF75
accent
#D344E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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