#2C3BB7#2C3BB7

#2C3BB7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.193 H 270.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2C3BB7
RGBrgb(44, 59, 183)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(76%, 67.8%, 0%, 28.2%)
CIE-LABlab(31.99, 37.89, -66.86)
CIE-LCHlch(31.99, 76.85, 299.54°)
OKLaboklab(42.91% 0.0006 -0.1935)
OKLCHoklch(42.91% 0.193 270.2)
XYZxyz(11.1470, 7.0811, 45.5699)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BB7 #B7A82C
analogous
#2C81B7 #2C3BB7 #632CB7
triadic
#2C3BB7 #B72C3B #3BB72C
tetradic
#2C3BB7 #B72C81 #B7A82C #2CB763
square
#2C3BB7 #B72C81 #B7A82C #2CB763
split-complementary
#2C3BB7 #B7632C #81B72C
monochromatic
#141B54 #202B86 #2C3BB7 #4C5BD4 #7E88E0

Accessibility & contrast

On white

8.69
#2C3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BB7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BB7#FFFFFF#000000##FFFFFF
##2C3BB71.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3bb7;
/* rgb */ color: rgb(44, 59, 183);
/* oklch */ color: oklch(42.9% 0.193 270.2);
Tailwind
colors: {
  custom: {
    50: '#7b71ce',
    500: '#2c3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bb7;
$custom-light: #7b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bb7",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 233.525,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.19348,
    "h": 270.2
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#2C3BB7
secondary
#C8C076
accent
#D343E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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