#2C3EAA#2C3EAA

#2C3EAA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.173 H 269.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2C3EAA
RGBrgb(44, 62, 170)
HSLhsl(231, 59%, 42%)
HSVhsv(231, 74%, 67%)
CMYKcmyk(74.1%, 63.5%, 0%, 33.3%)
CIE-LABlab(31.54, 31.26, -59.86)
CIE-LCHlch(31.54, 67.53, 297.57°)
OKLaboklab(42.21% -0.0004 -0.173)
OKLCHoklch(42.21% 0.173 269.9)
XYZxyz(10.0145, 6.8819, 38.8230)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EAA #AA982C
analogous
#2C7DAA #2C3EAA #592CAA
triadic
#2C3EAA #AA2C3E #3EAA2C
tetradic
#2C3EAA #AA2C7D #AA982C #2CAA59
square
#2C3EAA #AA2C7D #AA982C #2CAA59
split-complementary
#2C3EAA #AA592C #7DAA2C
monochromatic
#131B49 #1F2C79 #2C3EAA #4458CF #7584DB

Accessibility & contrast

On white

8.84
#2C3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C3EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EAA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EAA#FFFFFF#000000##FFFFFF
##2C3EAA1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3eaa;
/* rgb */ color: rgb(44, 62, 170);
/* oklch */ color: oklch(42.2% 0.173 269.9);
Tailwind
colors: {
  custom: {
    50: '#7873c4',
    500: '#2c3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eaa;
$custom-light: #7873c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eaa",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 231.429,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.17298,
    "h": 269.9
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#2C3EAA
secondary
#C3B76F
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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