#2C74D1#2C74D1

#2C74D1 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.4% C 0.160 H 256.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C74D1
RGBrgb(44, 116, 209)
HSLhsl(214, 65%, 50%)
HSVhsv(214, 79%, 82%)
CMYKcmyk(78.9%, 44.5%, 0%, 18%)
CIE-LABlab(49.04, 10.91, -54.27)
CIE-LCHlch(49.04, 55.36, 281.37°)
OKLaboklab(56.37% -0.0373 -0.1556)
OKLCHoklch(56.37% 0.16 256.5)
XYZxyz(18.7885, 17.6275, 62.7214)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74D1 #D1892C
analogous
#2CC7D1 #2C74D1 #372CD1
triadic
#2C74D1 #D12C74 #74D12C
tetradic
#2C74D1 #D12CC7 #D1892C #2CD137
square
#2C74D1 #D12CC7 #D1892C #2CD137
split-complementary
#2C74D1 #D1372C #C7D12C
monochromatic
#173C6C #21589E #2C74D1 #5D95DD #90B6E8

Accessibility & contrast

On white

4.64
#2C74D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2C74D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74D1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74D1#FFFFFF#000000##FFFFFF
##2C74D11.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447DD5
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c74d1;
/* rgb */ color: rgb(44, 116, 209);
/* oklch */ color: oklch(56.4% 0.160 256.5);
Tailwind
colors: {
  custom: {
    50: '#7e9be0',
    500: '#2c74d1',
    950: '#000000',
  },
}
SCSS
$custom: #2c74d1;
$custom-light: #7e9be0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74d1",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 209
  },
  "hsl": {
    "h": 213.818,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.16006,
    "h": 256.5
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#2C74D1
secondary
#D2B187
accent
#9F40E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2C74D1

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

Preview Lab → · Contrast checker → · Palette generator →

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