#2C3BAC#2C3BAC

#2C3BAC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.179 H 270.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2C3BAC
RGBrgb(44, 59, 172)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(74.4%, 65.7%, 0%, 32.5%)
CIE-LABlab(30.98, 33.93, -61.98)
CIE-LCHlch(30.98, 70.66, 298.70°)
OKLaboklab(41.85% 0.0014 -0.1792)
OKLCHoklch(41.85% 0.179 270.5)
XYZxyz(10.0465, 6.6409, 39.7741)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BAC #AC9D2C
analogous
#2C7BAC #2C3BAC #5D2CAC
triadic
#2C3BAC #AC2C3B #3BAC2C
tetradic
#2C3BAC #AC2C7B #AC9D2C #2CAC5D
square
#2C3BAC #AC2C7B #AC9D2C #2CAC5D
split-complementary
#2C3BAC #AC5D2C #7BAC2C
monochromatic
#131A4B #202A7B #2C3BAC #4656D0 #7682DC

Accessibility & contrast

On white

9.02
#2C3BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C3BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BAC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BAC#FFFFFF#000000##FFFFFF
##2C3BAC1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3bac;
/* rgb */ color: rgb(44, 59, 172);
/* oklch */ color: oklch(41.9% 0.179 270.5);
Tailwind
colors: {
  custom: {
    50: '#7971c6',
    500: '#2c3bac',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bac;
$custom-light: #7971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bac",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 232.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.17922,
    "h": 270.5
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#2C3BAC
secondary
#C4BA70
accent
#D045E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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