#2C50B2#2C50B2

#2C50B2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.162 H 265.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2C50B2
RGBrgb(44, 80, 178)
HSLhsl(224, 60%, 44%)
HSVhsv(224, 75%, 70%)
CMYKcmyk(75.3%, 55.1%, 0%, 30.2%)
CIE-LABlab(36.90, 22.39, -55.88)
CIE-LCHlch(36.90, 60.19, 291.83°)
OKLaboklab(46.42% -0.0133 -0.161)
OKLCHoklch(46.42% 0.162 265.3)
XYZxyz(11.9404, 9.4858, 43.3125)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50B2 #B28E2C
analogous
#2C93B2 #2C50B2 #4B2CB2
triadic
#2C50B2 #B22C50 #50B22C
tetradic
#2C50B2 #B22C93 #B28E2C #2CB24B
square
#2C50B2 #B22C93 #B28E2C #2CB24B
split-complementary
#2C50B2 #B24B2C #93B22C
monochromatic
#142450 #203A81 #2C50B2 #496ED2 #7A95DE

Accessibility & contrast

On white

7.25
#2C50B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C50B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50B2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50B2#FFFFFF#000000##FFFFFF
##2C50B21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c50b2;
/* rgb */ color: rgb(44, 80, 178);
/* oklch */ color: oklch(46.4% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#7880ca',
    500: '#2c50b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c50b2;
$custom-light: #7880ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50b2",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 223.881,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.16159,
    "h": 265.3
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#2C50B2
secondary
#C6B073
accent
#B944E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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