#2C3EA1#2C3EA1

#2C3EA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.161 H 269.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2C3EA1
RGBrgb(44, 62, 161)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 73%, 63%)
CMYKcmyk(72.7%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.77, 27.93, -55.70)
CIE-LCHlch(30.77, 62.31, 296.63°)
OKLaboklab(41.4% -0.0002 -0.1608)
OKLCHoklch(41.4% 0.161 269.9)
XYZxyz(9.1922, 6.5530, 34.4917)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EA1 #A18F2C
analogous
#2C79A1 #2C3EA1 #542CA1
triadic
#2C3EA1 #A12C3E #3EA12C
tetradic
#2C3EA1 #A12C79 #A18F2C #2CA154
square
#2C3EA1 #A12C79 #A18F2C #2CA154
split-complementary
#2C3EA1 #A1542C #79A12C
monochromatic
#121941 #1F2B71 #2C3EA1 #4055CB #7080D8

Accessibility & contrast

On white

9.09
#2C3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C3EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EA1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EA1#FFFFFF#000000##FFFFFF
##2C3EA11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3ea1;
/* rgb */ color: rgb(44, 62, 161);
/* oklch */ color: oklch(41.4% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2c3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ea1;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ea1",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 230.769,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.16079,
    "h": 269.9
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#2C3EA1
secondary
#BFB26A
accent
#C947E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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