#2C3AAB#2C3AAB

#2C3AAB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.179 H 270.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2C3AAB
RGBrgb(44, 58, 171)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(74.3%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.64, 34.21, -61.92)
CIE-LCHlch(30.64, 70.75, 298.92°)
OKLaboklab(41.58% 0.0021 -0.1791)
OKLCHoklch(41.58% 0.179 270.7)
XYZxyz(9.8999, 6.5008, 39.2532)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AAB #AB9D2C
analogous
#2C7AAB #2C3AAB #5E2CAB
triadic
#2C3AAB #AB2C3A #3AAB2C
tetradic
#2C3AAB #AB2C7A #AB9D2C #2CAB5E
square
#2C3AAB #AB2C7A #AB9D2C #2CAB5E
split-complementary
#2C3AAB #AB5E2C #7AAB2C
monochromatic
#13194A #1F297A #2C3AAB #4554CF #7681DC

Accessibility & contrast

On white

9.13
#2C3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C3AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AAB
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AAB#FFFFFF#000000##FFFFFF
##2C3AAB1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3aab;
/* rgb */ color: rgb(44, 58, 171);
/* oklch */ color: oklch(41.6% 0.179 270.7);
Tailwind
colors: {
  custom: {
    50: '#7970c5',
    500: '#2c3aab',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aab;
$custom-light: #7970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aab",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 233.386,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.17907,
    "h": 270.7
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#2C3AAB
secondary
#C3BA6F
accent
#D146E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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