#2C74BB#2C74BB

#2C74BB is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.132 H 251.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C74BB
RGBrgb(44, 116, 187)
HSLhsl(210, 62%, 45%)
HSVhsv(210, 76%, 73%)
CMYKcmyk(76.5%, 38%, 0%, 26.7%)
CIE-LABlab(47.77, 2.65, -43.69)
CIE-LCHlch(47.77, 43.77, 273.47°)
OKLaboklab(54.97% -0.0422 -0.1246)
OKLCHoklch(54.97% 0.132 251.3)
XYZxyz(16.2504, 16.6122, 49.3541)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74BB #BB732C
analogous
#2CBBBA #2C74BB #2C2DBB
triadic
#2C74BB #BB2C74 #74BB2C
tetradic
#2C74BB #BA2CBB #BB732C #2DBB2C
square
#2C74BB #BA2CBB #BB732C #2DBB2C
split-complementary
#2C74BB #BB2C2D #BBBA2C
monochromatic
#153758 #205589 #2C74BB #4F93D6 #80B1E1

Accessibility & contrast

On white

4.86
#2C74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C74BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74BB#FFFFFF#000000##FFFFFF
##2C74BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#3D6BBA
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c74bb;
/* rgb */ color: rgb(44, 116, 187);
/* oklch */ color: oklch(55.0% 0.132 251.3);
Tailwind
colors: {
  custom: {
    50: '#799bd0',
    500: '#2c74bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c74bb;
$custom-light: #799bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74bb",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 209.79,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.13151,
    "h": 251.3
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#2C74BB
secondary
#CAA179
accent
#9343E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2C74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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