#2C74B2#2C74B2

#2C74B2 is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.120 H 248.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C74B2
RGBrgb(44, 116, 178)
HSLhsl(208, 60%, 44%)
HSVhsv(208, 75%, 70%)
CMYKcmyk(75.3%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.29, -0.69, -39.24)
CIE-LCHlch(47.29, 39.24, 268.99°)
OKLaboklab(54.43% -0.0446 -0.1115)
OKLCHoklch(54.43% 0.12 248.2)
XYZxyz(15.3169, 16.2388, 44.4380)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74B2 #B26A2C
analogous
#2CB2AD #2C74B2 #2C31B2
triadic
#2C74B2 #B22C74 #74B22C
tetradic
#2C74B2 #AD2CB2 #B26A2C #31B22C
square
#2C74B2 #AD2CB2 #B26A2C #31B22C
split-complementary
#2C74B2 #B22C31 #B2AD2C
monochromatic
#143450 #205481 #2C74B2 #4993D2 #7AB0DE

Accessibility & contrast

On white

4.94
#2C74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2C74B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74B2#FFFFFF#000000##FFFFFF
##2C74B21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#00838A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c74b2;
/* rgb */ color: rgb(44, 116, 178);
/* oklch */ color: oklch(54.4% 0.120 248.2);
Tailwind
colors: {
  custom: {
    50: '#789bc9',
    500: '#2c74b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c74b2;
$custom-light: #789bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74b2",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 207.761,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.12012,
    "h": 248.2
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#2C74B2
secondary
#C69A73
accent
#8E44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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