#2C50AB#2C50AB

#2C50AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.152 H 264.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2C50AB
RGBrgb(44, 80, 171)
HSLhsl(223, 59%, 42%)
HSVhsv(223, 74%, 67%)
CMYKcmyk(74.3%, 53.2%, 0%, 32.9%)
CIE-LABlab(36.39, 19.72, -52.56)
CIE-LCHlch(36.39, 56.14, 290.56°)
OKLaboklab(45.87% -0.0139 -0.1513)
OKLCHoklch(45.87% 0.152 264.8)
XYZxyz(11.2555, 9.2119, 39.7051)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C50AB #AB872C
analogous
#2C90AB #2C50AB #472CAB
triadic
#2C50AB #AB2C50 #50AB2C
tetradic
#2C50AB #AB2C90 #AB872C #2CAB47
square
#2C50AB #AB2C90 #AB872C #2CAB47
split-complementary
#2C50AB #AB472C #90AB2C
monochromatic
#13224A #1F397A #2C50AB #456CCF #7693DC

Accessibility & contrast

On white

7.39
#2C50AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2C50AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C50AB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C50AB#FFFFFF#000000##FFFFFF
##2C50AB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c50ab;
/* rgb */ color: rgb(44, 80, 171);
/* oklch */ color: oklch(45.9% 0.152 264.8);
Tailwind
colors: {
  custom: {
    50: '#7780c5',
    500: '#2c50ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c50ab;
$custom-light: #7780c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c50ab",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 222.992,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.15193,
    "h": 264.8
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#2C50AB
secondary
#C3AC6F
accent
#B646E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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