#2C3FAC#2C3FAC

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

Color values

HEX#2C3FAC
RGBrgb(44, 63, 172)
HSLhsl(231, 59%, 42%)
HSVhsv(231, 74%, 67%)
CMYKcmyk(74.4%, 63.4%, 0%, 32.5%)
CIE-LABlab(31.96, 31.34, -60.36)
CIE-LCHlch(31.96, 68.01, 297.44°)
OKLaboklab(42.58% -0.0012 -0.1744)
OKLCHoklch(42.58% 0.174 269.6)
XYZxyz(10.2601, 7.0680, 39.8453)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FAC #AC992C
analogous
#2C7FAC #2C3FAC #592CAC
triadic
#2C3FAC #AC2C3F #3FAC2C
tetradic
#2C3FAC #AC2C7F #AC992C #2CAC59
square
#2C3FAC #AC2C7F #AC992C #2CAC59
split-complementary
#2C3FAC #AC592C #7FAC2C
monochromatic
#131B4B #202D7B #2C3FAC #465AD0 #7685DC

Accessibility & contrast

On white

8.70
#2C3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FAC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FAC#FFFFFF#000000##FFFFFF
##2C3FAC1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.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: #2c3fac;
/* rgb */ color: rgb(44, 63, 172);
/* oklch */ color: oklch(42.6% 0.174 269.6);
Tailwind
colors: {
  custom: {
    50: '#7874c6',
    500: '#2c3fac',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fac;
$custom-light: #7874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fac",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 231.094,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.17444,
    "h": 269.6
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#2C3FAC
secondary
#C4B770
accent
#CB45E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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