#2C50BB#2C50BB

#2C50BB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.174 H 265.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2C50BB
RGBrgb(44, 80, 187)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(76.5%, 57.2%, 0%, 26.7%)
CIE-LABlab(37.59, 25.79, -60.06)
CIE-LCHlch(37.59, 65.37, 293.24°)
OKLaboklab(47.15% -0.0127 -0.1733)
OKLCHoklch(47.15% 0.174 265.8)
XYZxyz(12.8739, 9.8592, 48.2286)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50BB #BB972C
analogous
#2C97BB #2C50BB #4F2CBB
triadic
#2C50BB #BB2C50 #50BB2C
tetradic
#2C50BB #BB2C97 #BB972C #2CBB4F
square
#2C50BB #BB2C97 #BB972C #2CBB4F
split-complementary
#2C50BB #BB4F2C #97BB2C
monochromatic
#152658 #203B89 #2C50BB #4F71D6 #8099E1

Accessibility & contrast

On white

7.07
#2C50BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2C50BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50BB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50BB#FFFFFF#000000##FFFFFF
##2C50BB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c50bb;
/* rgb */ color: rgb(44, 80, 187);
/* oklch */ color: oklch(47.1% 0.174 265.8);
Tailwind
colors: {
  custom: {
    50: '#7b80d0',
    500: '#2c50bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c50bb;
$custom-light: #7b80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50bb",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 224.895,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.17381,
    "h": 265.8
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#2C50BB
secondary
#CAB679
accent
#BC43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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