#2C74B8#2C74B8

#2C74B8 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 54.8% C 0.128 H 250.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C74B8
RGBrgb(44, 116, 184)
HSLhsl(209, 61%, 45%)
HSVhsv(209, 76%, 72%)
CMYKcmyk(76.1%, 37%, 0%, 27.8%)
CIE-LABlab(47.60, 1.53, -42.21)
CIE-LCHlch(47.60, 42.24, 272.08°)
OKLaboklab(54.79% -0.043 -0.1202)
OKLCHoklch(54.79% 0.128 250.3)
XYZxyz(15.9326, 16.4851, 47.6803)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74B8 #B8702C
analogous
#2CB8B6 #2C74B8 #2C2EB8
triadic
#2C74B8 #B82C74 #74B82C
tetradic
#2C74B8 #B62CB8 #B8702C #2EB82C
square
#2C74B8 #B62CB8 #B8702C #2EB82C
split-complementary
#2C74B8 #B82C2E #B8B62C
monochromatic
#143655 #205587 #2C74B8 #4D93D4 #7EB1E0

Accessibility & contrast

On white

4.89
#2C74B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2C74B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74B8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74B8#FFFFFF#000000##FFFFFF
##2C74B81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5478BB
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c74b8;
/* rgb */ color: rgb(44, 116, 184);
/* oklch */ color: oklch(54.8% 0.128 250.3);
Tailwind
colors: {
  custom: {
    50: '#799bcd',
    500: '#2c74b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c74b8;
$custom-light: #799bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74b8",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 184
  },
  "hsl": {
    "h": 209.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.12767,
    "h": 250.3
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#2C74B8
secondary
#C99F77
accent
#9243E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C74B8

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

Preview Lab → · Contrast checker → · Palette generator →

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