#2C3AB6#2C3AB6

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

Color values

HEX#2C3AB6
RGBrgb(44, 58, 182)
HSLhsl(234, 61%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(75.8%, 68.1%, 0%, 28.6%)
CIE-LABlab(31.66, 38.15, -66.80)
CIE-LCHlch(31.66, 76.93, 299.73°)
OKLaboklab(42.64% 0.0012 -0.1933)
OKLCHoklch(42.64% 0.193 270.4)
XYZxyz(10.9924, 6.9378, 45.0067)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AB6 #B6A82C
analogous
#2C7FB6 #2C3AB6 #632CB6
triadic
#2C3AB6 #B62C3A #3AB62C
tetradic
#2C3AB6 #B62C7F #B6A82C #2CB663
square
#2C3AB6 #B62C7F #B6A82C #2CB663
split-complementary
#2C3AB6 #B6632C #7FB62C
monochromatic
#141B53 #202A85 #2C3AB6 #4C59D4 #7D87E0

Accessibility & contrast

On white

8.79
#2C3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C3AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AB6
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AB6#FFFFFF#000000##FFFFFF
##2C3AB61.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3ab6;
/* rgb */ color: rgb(44, 58, 182);
/* oklch */ color: oklch(42.6% 0.193 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b70cd',
    500: '#2c3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ab6;
$custom-light: #7b70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ab6",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 233.913,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.19331,
    "h": 270.4
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#2C3AB6
secondary
#C8C076
accent
#D444E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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