#2C3BA4#2C3BA4

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

Color values

HEX#2C3BA4
RGBrgb(44, 59, 164)
HSLhsl(233, 58%, 41%)
HSVhsv(233, 73%, 64%)
CMYKcmyk(73.2%, 64%, 0%, 35.7%)
CIE-LABlab(30.26, 31.01, -58.34)
CIE-LCHlch(30.26, 66.07, 297.99°)
OKLaboklab(41.11% 0.0019 -0.1686)
OKLCHoklch(41.11% 0.169 270.6)
XYZxyz(9.3012, 6.3428, 35.8489)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BA4 #A4952C
analogous
#2C77A4 #2C3BA4 #592CA4
triadic
#2C3BA4 #A42C3B #3BA42C
tetradic
#2C3BA4 #A42C77 #A4952C #2CA459
square
#2C3BA4 #A42C77 #A4952C #2CA459
split-complementary
#2C3BA4 #A4592C #77A42C
monochromatic
#121843 #1F2A74 #2C3BA4 #4153CC #717ED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3BA4#FFFFFF#000000##FFFFFF
##2C3BA41.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)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3ba4;
/* rgb */ color: rgb(44, 59, 164);
/* oklch */ color: oklch(41.1% 0.169 270.6);
Tailwind
colors: {
  custom: {
    50: '#7771c0',
    500: '#2c3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ba4;
$custom-light: #7771c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ba4",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 232.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.16857,
    "h": 270.6
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#2C3BA4
secondary
#C0B66B
accent
#CE47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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