#2C74BA#2C74BA

#2C74BA is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.130 H 251.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C74BA
RGBrgb(44, 116, 186)
HSLhsl(210, 62%, 45%)
HSVhsv(210, 76%, 73%)
CMYKcmyk(76.3%, 37.6%, 0%, 27.1%)
CIE-LABlab(47.71, 2.28, -43.20)
CIE-LCHlch(47.71, 43.26, 273.02°)
OKLaboklab(54.91% -0.0424 -0.1231)
OKLCHoklch(54.91% 0.13 251)
XYZxyz(16.1437, 16.5695, 48.7923)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C74BA #BA722C
analogous
#2CBAB9 #2C74BA #2C2DBA
triadic
#2C74BA #BA2C74 #74BA2C
tetradic
#2C74BA #B92CBA #BA722C #2DBA2C
square
#2C74BA #B92CBA #BA722C #2DBA2C
split-complementary
#2C74BA #BA2C2D #BAB92C
monochromatic
#153657 #205589 #2C74BA #4E93D5 #80B1E1

Accessibility & contrast

On white

4.87
#2C74BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2C74BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C74BA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C74BA#FFFFFF#000000##FFFFFF
##2C74BA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5378BD
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c74ba;
/* rgb */ color: rgb(44, 116, 186);
/* oklch */ color: oklch(54.9% 0.130 251.0);
Tailwind
colors: {
  custom: {
    50: '#799bcf',
    500: '#2c74ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c74ba;
$custom-light: #799bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c74ba",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 209.577,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.13023,
    "h": 251
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#2C74BA
secondary
#CAA078
accent
#9343E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2C74BA

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

Preview Lab → · Contrast checker → · Palette generator →

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