#2C3BB1#2C3BB1

#2C3BB1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.186 H 270.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2C3BB1
RGBrgb(44, 59, 177)
HSLhsl(233, 60%, 43%)
HSVhsv(233, 75%, 69%)
CMYKcmyk(75.1%, 66.7%, 0%, 30.6%)
CIE-LABlab(31.43, 35.74, -64.21)
CIE-LCHlch(31.43, 73.49, 299.10°)
OKLaboklab(42.33% 0.0011 -0.1857)
OKLCHoklch(42.33% 0.186 270.3)
XYZxyz(10.5358, 6.8366, 42.3508)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BB1 #B1A22C
analogous
#2C7DB1 #2C3BB1 #5F2CB1
triadic
#2C3BB1 #B12C3B #3BB12C
tetradic
#2C3BB1 #B12C7D #B1A22C #2CB15F
square
#2C3BB1 #B12C7D #B1A22C #2CB15F
split-complementary
#2C3BB1 #B15F2C #7DB12C
monochromatic
#141A4F #202B80 #2C3BB1 #4958D2 #7A85DE

Accessibility & contrast

On white

8.87
#2C3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BB1
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BB1#FFFFFF#000000##FFFFFF
##2C3BB11.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3bb1;
/* rgb */ color: rgb(44, 59, 177);
/* oklch */ color: oklch(42.3% 0.186 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a71c9',
    500: '#2c3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bb1;
$custom-light: #7a71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bb1",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 233.233,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.18574,
    "h": 270.3
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#2C3BB1
secondary
#C6BD73
accent
#D144E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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