#2C3EAC#2C3EAC

#2C3EAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.176 H 269.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3EAC
RGBrgb(44, 62, 172)
HSLhsl(232, 59%, 42%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(74.4%, 64%, 0%, 32.5%)
CIE-LABlab(31.71, 31.99, -60.77)
CIE-LCHlch(31.71, 68.68, 297.76°)
OKLaboklab(42.39% -0.0005 -0.1756)
OKLCHoklch(42.39% 0.176 269.8)
XYZxyz(10.2052, 6.9582, 39.8270)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EAC #AC9A2C
analogous
#2C7EAC #2C3EAC #5A2CAC
triadic
#2C3EAC #AC2C3E #3EAC2C
tetradic
#2C3EAC #AC2C7E #AC9A2C #2CAC5A
square
#2C3EAC #AC2C7E #AC9A2C #2CAC5A
split-complementary
#2C3EAC #AC5A2C #7EAC2C
monochromatic
#131B4B #202C7B #2C3EAC #4659D0 #7685DC

Accessibility & contrast

On white

8.78
#2C3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3EAC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EAC#FFFFFF#000000##FFFFFF
##2C3EAC1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3eac;
/* rgb */ color: rgb(44, 62, 172);
/* oklch */ color: oklch(42.4% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#7873c6',
    500: '#2c3eac',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eac;
$custom-light: #7873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eac",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 231.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.17565,
    "h": 269.8
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#2C3EAC
secondary
#C4B870
accent
#CC45E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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