#2C3EB1#2C3EB1

#2C3EB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.182 H 269.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C3EB1
RGBrgb(44, 62, 177)
HSLhsl(232, 60%, 43%)
HSVhsv(232, 75%, 69%)
CMYKcmyk(75.1%, 65%, 0%, 30.6%)
CIE-LABlab(32.15, 33.82, -63.03)
CIE-LCHlch(32.15, 71.53, 298.22°)
OKLaboklab(42.86% -0.0007 -0.1823)
OKLCHoklch(42.86% 0.182 269.8)
XYZxyz(10.6944, 7.1539, 42.4037)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EB1 #B19F2C
analogous
#2C80B1 #2C3EB1 #5C2CB1
triadic
#2C3EB1 #B12C3E #3EB12C
tetradic
#2C3EB1 #B12C80 #B19F2C #2CB15C
square
#2C3EB1 #B12C80 #B19F2C #2CB15C
split-complementary
#2C3EB1 #B15C2C #80B12C
monochromatic
#141C4F #202D80 #2C3EB1 #495BD2 #7A87DE

Accessibility & contrast

On white

8.64
#2C3EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C3EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EB1
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EB1#FFFFFF#000000##FFFFFF
##2C3EB11.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c3eb1;
/* rgb */ color: rgb(44, 62, 177);
/* oklch */ color: oklch(42.9% 0.182 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a73c9',
    500: '#2c3eb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eb1;
$custom-light: #7a73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eb1",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 231.88,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.18226,
    "h": 269.8
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#2C3EB1
secondary
#C6BB73
accent
#CE44E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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