#2C3EA4#2C3EA4

#2C3EA4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.165 H 269.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2C3EA4
RGBrgb(44, 62, 164)
HSLhsl(231, 58%, 41%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(73.2%, 62.2%, 0%, 35.7%)
CIE-LABlab(31.02, 29.04, -57.10)
CIE-LCHlch(31.02, 64.06, 296.96°)
OKLaboklab(41.67% -0.0002 -0.1649)
OKLCHoklch(41.67% 0.165 269.9)
XYZxyz(9.4599, 6.6601, 35.9017)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EA4 #A4922C
analogous
#2C7AA4 #2C3EA4 #562CA4
triadic
#2C3EA4 #A42C3E #3EA42C
tetradic
#2C3EA4 #A42C7A #A4922C #2CA456
square
#2C3EA4 #A42C7A #A4922C #2CA456
split-complementary
#2C3EA4 #A4562C #7AA42C
monochromatic
#121A43 #1F2C74 #2C3EA4 #4156CC #7181D9

Accessibility & contrast

On white

9.00
#2C3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EA4
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EA4#FFFFFF#000000##FFFFFF
##2C3EA41.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3ea4;
/* rgb */ color: rgb(44, 62, 164);
/* oklch */ color: oklch(41.7% 0.165 269.9);
Tailwind
colors: {
  custom: {
    50: '#7773c0',
    500: '#2c3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ea4;
$custom-light: #7773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ea4",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 231,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41671,
    "c": 0.16489,
    "h": 269.9
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#2C3EA4
secondary
#C0B46B
accent
#CA47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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