#2C74BF#2C74BF

#2C74BF is a mid, vivid cyan. Relative luminance 0.168; OKLCH L 55.2% C 0.137 H 252.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2C74BF
RGBrgb(44, 116, 191)
HSLhsl(211, 63%, 46%)
HSVhsv(211, 77%, 75%)
CMYKcmyk(77%, 39.3%, 0%, 25.1%)
CIE-LABlab(47.99, 4.14, -45.64)
CIE-LCHlch(47.99, 45.83, 275.19°)
OKLaboklab(55.21% -0.0412 -0.1303)
OKLCHoklch(55.21% 0.137 252.5)
XYZxyz(16.6845, 16.7859, 51.6408)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74BF #BF772C
analogous
#2CBDBF #2C74BF #2D2CBF
triadic
#2C74BF #BF2C74 #74BF2C
tetradic
#2C74BF #BF2CBD #BF772C #2CBF2D
square
#2C74BF #BF2CBD #BF772C #2CBF2D
split-complementary
#2C74BF #BF2D2C #BDBF2C
monochromatic
#15385C #21568D #2C74BF #5193D7 #83B2E2

Accessibility & contrast

On white

4.82
#2C74BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2C74BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74BF#FFFFFF#000000##FFFFFF
##2C74BF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#396CBE
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c74bf;
/* rgb */ color: rgb(44, 116, 191);
/* oklch */ color: oklch(55.2% 0.137 252.5);
Tailwind
colors: {
  custom: {
    50: '#7a9bd3',
    500: '#2c74bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c74bf;
$custom-light: #7a9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74bf",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 210.612,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.13665,
    "h": 252.5
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

primary
#2C74BF
secondary
#CCA47B
accent
#9642E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2C74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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