#2C74B7#2C74B7

#2C74B7 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.126 H 250.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C74B7
RGBrgb(44, 116, 183)
HSLhsl(209, 61%, 45%)
HSVhsv(209, 76%, 72%)
CMYKcmyk(76%, 36.6%, 0%, 28.2%)
CIE-LABlab(47.55, 1.16, -41.72)
CIE-LCHlch(47.55, 41.74, 271.59°)
OKLaboklab(54.73% -0.0432 -0.1188)
OKLCHoklch(54.73% 0.126 250)
XYZxyz(15.8281, 16.4433, 47.1302)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74B7 #B76F2C
analogous
#2CB7B5 #2C74B7 #2C2FB7
triadic
#2C74B7 #B72C74 #74B72C
tetradic
#2C74B7 #B52CB7 #B76F2C #2FB72C
square
#2C74B7 #B52CB7 #B76F2C #2FB72C
split-complementary
#2C74B7 #B72C2F #B7B52C
monochromatic
#143554 #205586 #2C74B7 #4C93D4 #7EB0E0

Accessibility & contrast

On white

4.90
#2C74B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2C74B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74B7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74B7#FFFFFF#000000##FFFFFF
##2C74B71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#406BB6
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c74b7;
/* rgb */ color: rgb(44, 116, 183);
/* oklch */ color: oklch(54.7% 0.126 250.0);
Tailwind
colors: {
  custom: {
    50: '#799bcd',
    500: '#2c74b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c74b7;
$custom-light: #799bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74b7",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 208.921,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.12641,
    "h": 250
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#2C74B7
secondary
#C89E76
accent
#9143E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C74B7

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

Preview Lab → · Contrast checker → · Palette generator →

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