#2C50BA#2C50BA

#2C50BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.172 H 265.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2C50BA
RGBrgb(44, 80, 186)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(76.3%, 57%, 0%, 27.1%)
CIE-LABlab(37.51, 25.42, -59.60)
CIE-LCHlch(37.51, 64.79, 293.10°)
OKLaboklab(47.07% -0.0128 -0.172)
OKLCHoklch(47.07% 0.172 265.7)
XYZxyz(12.7672, 9.8165, 47.6668)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50BA #BA962C
analogous
#2C97BA #2C50BA #4F2CBA
triadic
#2C50BA #BA2C50 #50BA2C
tetradic
#2C50BA #BA2C97 #BA962C #2CBA4F
square
#2C50BA #BA2C97 #BA962C #2CBA4F
split-complementary
#2C50BA #BA4F2C #97BA2C
monochromatic
#152557 #203B89 #2C50BA #4E70D5 #8098E1

Accessibility & contrast

On white

7.09
#2C50BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2C50BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50BA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50BA#FFFFFF#000000##FFFFFF
##2C50BA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c50ba;
/* rgb */ color: rgb(44, 80, 186);
/* oklch */ color: oklch(47.1% 0.172 265.7);
Tailwind
colors: {
  custom: {
    50: '#7a80d0',
    500: '#2c50ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c50ba;
$custom-light: #7a80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50ba",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 224.789,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.17246,
    "h": 265.7
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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