#2C3CA1#2C3CA1

#2C3CA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.163 H 270.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2C3CA1
RGBrgb(44, 60, 161)
HSLhsl(232, 57%, 40%)
HSVhsv(232, 73%, 63%)
CMYKcmyk(72.7%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.25, 29.25, -56.54)
CIE-LCHlch(30.25, 63.66, 297.35°)
OKLaboklab(41.02% 0.0013 -0.1633)
OKLCHoklch(41.02% 0.163 270.4)
XYZxyz(9.0854, 6.3395, 34.4561)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CA1 #A1912C
analogous
#2C76A1 #2C3CA1 #572CA1
triadic
#2C3CA1 #A12C3C #3CA12C
tetradic
#2C3CA1 #A12C76 #A1912C #2CA157
square
#2C3CA1 #A12C76 #A1912C #2CA157
split-complementary
#2C3CA1 #A1572C #76A12C
monochromatic
#121841 #1F2A71 #2C3CA1 #4053CB #707ED8

Accessibility & contrast

On white

9.26
#2C3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CA1
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CA1#FFFFFF#000000##FFFFFF
##2C3CA11.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3ca1;
/* rgb */ color: rgb(44, 60, 161);
/* oklch */ color: oklch(41.0% 0.163 270.4);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2c3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ca1;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ca1",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 231.795,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41024,
    "c": 0.16328,
    "h": 270.4
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#2C3CA1
secondary
#BFB36A
accent
#CB47E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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