#2C3CBA#2C3CBA

#2C3CBA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.196 H 269.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2C3CBA
RGBrgb(44, 60, 186)
HSLhsl(233, 62%, 45%)
HSVhsv(233, 76%, 73%)
CMYKcmyk(76.3%, 67.7%, 0%, 27.1%)
CIE-LABlab(32.50, 38.33, -67.79)
CIE-LCHlch(32.50, 77.87, 299.49°)
OKLaboklab(43.36% -0.0002 -0.1962)
OKLCHoklch(43.36% 0.196 269.9)
XYZxyz(11.5145, 7.3111, 47.2492)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CBA #BAAA2C
analogous
#2C83BA #2C3CBA #632CBA
triadic
#2C3CBA #BA2C3C #3CBA2C
tetradic
#2C3CBA #BA2C83 #BAAA2C #2CBA63
square
#2C3CBA #BA2C83 #BAAA2C #2CBA63
split-complementary
#2C3CBA #BA632C #83BA2C
monochromatic
#151C57 #202C89 #2C3CBA #4E5DD5 #808BE1

Accessibility & contrast

On white

8.53
#2C3CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C3CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CBA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CBA#FFFFFF#000000##FFFFFF
##2C3CBA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c3cba;
/* rgb */ color: rgb(44, 60, 186);
/* oklch */ color: oklch(43.4% 0.196 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c72d0',
    500: '#2c3cba',
    950: '#000000',
  },
}
SCSS
$custom: #2c3cba;
$custom-light: #7c72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3cba",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 233.239,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.19619,
    "h": 269.9
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#2C3CBA
secondary
#CAC078
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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