#2C3BB4#2C3BB4

#2C3BB4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.190 H 270.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3BB4
RGBrgb(44, 59, 180)
HSLhsl(233, 61%, 44%)
HSVhsv(233, 76%, 71%)
CMYKcmyk(75.6%, 67.2%, 0%, 29.4%)
CIE-LABlab(31.71, 36.81, -65.54)
CIE-LCHlch(31.71, 75.17, 299.32°)
OKLaboklab(42.61% 0.0009 -0.1896)
OKLCHoklch(42.61% 0.19 270.3)
XYZxyz(10.8381, 6.9575, 43.9429)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BB4 #B4A52C
analogous
#2C7FB4 #2C3BB4 #612CB4
triadic
#2C3BB4 #B42C3B #3BB42C
tetradic
#2C3BB4 #B42C7F #B4A52C #2CB461
square
#2C3BB4 #B42C7F #B4A52C #2CB461
split-complementary
#2C3BB4 #B4612C #7FB42C
monochromatic
#141B52 #202B83 #2C3BB4 #4A59D3 #7C86DF

Accessibility & contrast

On white

8.78
#2C3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C3BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BB4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BB4#FFFFFF#000000##FFFFFF
##2C3BB41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3bb4;
/* rgb */ color: rgb(44, 59, 180);
/* oklch */ color: oklch(42.6% 0.190 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b71cc',
    500: '#2c3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bb4;
$custom-light: #7b71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bb4",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 233.382,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.18963,
    "h": 270.3
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#2C3BB4
secondary
#C7BE75
accent
#D244E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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