#2C3BB6#2C3BB6

#2C3BB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.192 H 270.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2C3BB6
RGBrgb(44, 59, 182)
HSLhsl(233, 61%, 44%)
HSVhsv(233, 76%, 71%)
CMYKcmyk(75.8%, 67.6%, 0%, 28.6%)
CIE-LABlab(31.90, 37.53, -66.42)
CIE-LCHlch(31.90, 76.29, 299.47°)
OKLaboklab(42.81% 0.0007 -0.1922)
OKLCHoklch(42.81% 0.192 270.2)
XYZxyz(11.0433, 7.0396, 45.0237)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BB6 #B6A72C
analogous
#2C80B6 #2C3BB6 #622CB6
triadic
#2C3BB6 #B62C3B #3BB62C
tetradic
#2C3BB6 #B62C80 #B6A72C #2CB662
square
#2C3BB6 #B62C80 #B6A72C #2CB662
split-complementary
#2C3BB6 #B6622C #80B62C
monochromatic
#141B53 #202B85 #2C3BB6 #4C5AD4 #7D88E0

Accessibility & contrast

On white

8.72
#2C3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BB6
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BB6#FFFFFF#000000##FFFFFF
##2C3BB61.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3bb6;
/* rgb */ color: rgb(44, 59, 182);
/* oklch */ color: oklch(42.8% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b71cd',
    500: '#2c3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bb6;
$custom-light: #7b71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bb6",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 233.478,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.1922,
    "h": 270.2
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#2C3BB6
secondary
#C8BF76
accent
#D344E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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