#2C3DAE#2C3DAE

#2C3DAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.179 H 270.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2C3DAE
RGBrgb(44, 61, 174)
HSLhsl(232, 60%, 43%)
HSVhsv(232, 75%, 68%)
CMYKcmyk(74.7%, 64.9%, 0%, 31.8%)
CIE-LABlab(31.64, 33.37, -62.08)
CIE-LCHlch(31.64, 70.48, 298.26°)
OKLaboklab(42.4% 0.0001 -0.1795)
OKLCHoklch(42.4% 0.179 270)
XYZxyz(10.3448, 6.9279, 40.8282)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DAE #AE9D2C
analogous
#2C7EAE #2C3DAE #5C2CAE
triadic
#2C3DAE #AE2C3D #3DAE2C
tetradic
#2C3DAE #AE2C7E #AE9D2C #2CAE5C
square
#2C3DAE #AE2C7E #AE9D2C #2CAE5C
split-complementary
#2C3DAE #AE5C2C #7EAE2C
monochromatic
#131B4C #202C7D #2C3DAE #4759D0 #7885DD

Accessibility & contrast

On white

8.80
#2C3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C3DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DAE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DAE#FFFFFF#000000##FFFFFF
##2C3DAE1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3dae;
/* rgb */ color: rgb(44, 61, 174);
/* oklch */ color: oklch(42.4% 0.179 270.0);
Tailwind
colors: {
  custom: {
    50: '#7972c7',
    500: '#2c3dae',
    950: '#000000',
  },
}
SCSS
$custom: #2c3dae;
$custom-light: #7972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3dae",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 232.154,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42398,
    "c": 0.17949,
    "h": 270
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#2C3DAE
secondary
#C5BA71
accent
#CE45E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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