#2C3CAA#2C3CAA

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

Color values

HEX#2C3CAA
RGBrgb(44, 60, 170)
HSLhsl(232, 59%, 42%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(74.1%, 64.7%, 0%, 33.3%)
CIE-LABlab(31.04, 32.56, -60.67)
CIE-LCHlch(31.04, 68.86, 298.22°)
OKLaboklab(41.85% 0.0009 -0.1754)
OKLCHoklch(41.85% 0.175 270.3)
XYZxyz(9.9078, 6.6684, 38.7874)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CAA #AA9A2C
analogous
#2C7BAA #2C3CAA #5B2CAA
triadic
#2C3CAA #AA2C3C #3CAA2C
tetradic
#2C3CAA #AA2C7B #AA9A2C #2CAA5B
square
#2C3CAA #AA2C7B #AA9A2C #2CAA5B
split-complementary
#2C3CAA #AA5B2C #7BAA2C
monochromatic
#131A49 #1F2B79 #2C3CAA #4456CF #7582DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3CAA#FFFFFF#000000##FFFFFF
##2C3CAA1.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)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3caa;
/* rgb */ color: rgb(44, 60, 170);
/* oklch */ color: oklch(41.8% 0.175 270.3);
Tailwind
colors: {
  custom: {
    50: '#7871c4',
    500: '#2c3caa',
    950: '#000000',
  },
}
SCSS
$custom: #2c3caa;
$custom-light: #7871c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3caa",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 232.381,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.17538,
    "h": 270.3
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#2C3CAA
secondary
#C3B86F
accent
#CE46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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