#2C3BBA#2C3BBA

#2C3BBA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.197 H 270.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2C3BBA
RGBrgb(44, 59, 186)
HSLhsl(234, 62%, 45%)
HSVhsv(234, 76%, 73%)
CMYKcmyk(76.3%, 68.3%, 0%, 27.1%)
CIE-LABlab(32.27, 38.95, -68.17)
CIE-LCHlch(32.27, 78.51, 299.74°)
OKLaboklab(43.2% 0.0003 -0.1973)
OKLCHoklch(43.2% 0.197 270.1)
XYZxyz(11.4626, 7.2073, 47.2319)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BBA #BAAB2C
analogous
#2C82BA #2C3BBA #642CBA
triadic
#2C3BBA #BA2C3B #3BBA2C
tetradic
#2C3BBA #BA2C82 #BAAB2C #2CBA64
square
#2C3BBA #BA2C82 #BAAB2C #2CBA64
split-complementary
#2C3BBA #BA642C #82BA2C
monochromatic
#151C57 #202B89 #2C3BBA #4E5CD5 #808AE1

Accessibility & contrast

On white

8.60
#2C3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C3BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BBA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BBA#FFFFFF#000000##FFFFFF
##2C3BBA1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3bba;
/* rgb */ color: rgb(44, 59, 186);
/* oklch */ color: oklch(43.2% 0.197 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c71d0',
    500: '#2c3bba',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bba;
$custom-light: #7c71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bba",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 233.662,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.1973,
    "h": 270.1
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#2C3BBA
secondary
#CAC178
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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