#2C3AAA#2C3AAA

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

Color values

HEX#2C3AAA
RGBrgb(44, 58, 170)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(74.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(30.55, 33.85, -61.47)
CIE-LCHlch(30.55, 70.18, 298.84°)
OKLaboklab(41.49% 0.0022 -0.1777)
OKLCHoklch(41.49% 0.178 270.7)
XYZxyz(9.8050, 6.4628, 38.7531)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AAA #AA9C2C
analogous
#2C79AA #2C3AAA #5D2CAA
triadic
#2C3AAA #AA2C3A #3AAA2C
tetradic
#2C3AAA #AA2C79 #AA9C2C #2CAA5D
square
#2C3AAA #AA2C79 #AA9C2C #2CAA5D
split-complementary
#2C3AAA #AA5D2C #79AA2C
monochromatic
#131949 #1F2979 #2C3AAA #4454CF #7580DB

Accessibility & contrast

On white

9.16
#2C3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AAA
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AAA#FFFFFF#000000##FFFFFF
##2C3AAA1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3aaa;
/* rgb */ color: rgb(44, 58, 170);
/* oklch */ color: oklch(41.5% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#7870c4',
    500: '#2c3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2c3aaa;
$custom-light: #7870c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3aaa",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 233.333,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41489,
    "c": 0.17775,
    "h": 270.7
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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