#2C3BAB#2C3BAB

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

Color values

HEX#2C3BAB
RGBrgb(44, 59, 171)
HSLhsl(233, 59%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(74.3%, 65.5%, 0%, 32.9%)
CIE-LABlab(30.88, 33.57, -61.53)
CIE-LCHlch(30.88, 70.09, 298.61°)
OKLaboklab(41.76% 0.0015 -0.1779)
OKLCHoklch(41.76% 0.178 270.5)
XYZxyz(9.9508, 6.6026, 39.2702)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BAB #AB9C2C
analogous
#2C7BAB #2C3BAB #5C2CAB
triadic
#2C3BAB #AB2C3B #3BAB2C
tetradic
#2C3BAB #AB2C7B #AB9C2C #2CAB5C
square
#2C3BAB #AB2C7B #AB9C2C #2CAB5C
split-complementary
#2C3BAB #AB5C2C #7BAB2C
monochromatic
#13194A #1F2A7A #2C3BAB #4555CF #7682DC

Accessibility & contrast

On white

9.05
#2C3BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C3BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BAB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BAB#FFFFFF#000000##FFFFFF
##2C3BAB1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3bab;
/* rgb */ color: rgb(44, 59, 171);
/* oklch */ color: oklch(41.8% 0.178 270.5);
Tailwind
colors: {
  custom: {
    50: '#7871c5',
    500: '#2c3bab',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bab;
$custom-light: #7871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bab",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 232.913,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.1779,
    "h": 270.5
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#2C3BAB
secondary
#C3B96F
accent
#D046E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2C3BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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