#2C50AF#2C50AF

#2C50AF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.157 H 265.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2C50AF
RGBrgb(44, 80, 175)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 69%)
CMYKcmyk(74.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.68, 21.24, -54.46)
CIE-LCHlch(36.68, 58.46, 291.31°)
OKLaboklab(46.18% -0.0135 -0.1569)
OKLCHoklch(46.18% 0.157 265.1)
XYZxyz(11.6425, 9.3667, 41.7435)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50AF #AF8B2C
analogous
#2C92AF #2C50AF #492CAF
triadic
#2C50AF #AF2C50 #50AF2C
tetradic
#2C50AF #AF2C92 #AF8B2C #2CAF49
square
#2C50AF #AF2C92 #AF8B2C #2CAF49
split-complementary
#2C50AF #AF492C #92AF2C
monochromatic
#13234D #203A7E #2C50AF #476DD1 #7894DD

Accessibility & contrast

On white

7.31
#2C50AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C50AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50AF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50AF#FFFFFF#000000##FFFFFF
##2C50AF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c50af;
/* rgb */ color: rgb(44, 80, 175);
/* oklch */ color: oklch(46.2% 0.157 265.1);
Tailwind
colors: {
  custom: {
    50: '#7880c8',
    500: '#2c50af',
    950: '#000000',
  },
}
SCSS
$custom: #2c50af;
$custom-light: #7880c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50af",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 223.511,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.15746,
    "h": 265.1
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#2C50AF
secondary
#C5AE72
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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