#2B74CC#2B74CC

#2B74CC is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 56.0% C 0.154 H 255.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B74CC
RGBrgb(43, 116, 204)
HSLhsl(213, 65%, 48%)
HSVhsv(213, 79%, 80%)
CMYKcmyk(78.9%, 43.1%, 0%, 20%)
CIE-LABlab(48.71, 8.92, -51.95)
CIE-LCHlch(48.71, 52.71, 279.75°)
OKLaboklab(56.01% -0.0389 -0.1488)
OKLCHoklch(56.01% 0.154 255.4)
XYZxyz(18.1367, 17.3618, 59.5103)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B74CC #CC832B
analogous
#2BC4CC #2B74CC #322BCC
triadic
#2B74CC #CC2B74 #74CC2B
tetradic
#2B74CC #CC2BC4 #CC832B #2BCC32
square
#2B74CC #CC2BC4 #CC832B #2BCC32
split-complementary
#2B74CC #CC322B #C4CC2B
monochromatic
#163B67 #205799 #2B74CC #5894DC #8BB4E7

Accessibility & contrast

On white

4.70
#2B74CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2B74CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B74CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B74CC#FFFFFF#000000##FFFFFF
##2B74CC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477CCF
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b74cc;
/* rgb */ color: rgb(43, 116, 204);
/* oklch */ color: oklch(56.0% 0.154 255.4);
Tailwind
colors: {
  custom: {
    50: '#7d9bdc',
    500: '#2b74cc',
    950: '#000000',
  },
}
SCSS
$custom: #2b74cc;
$custom-light: #7d9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b74cc",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 212.795,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.15381,
    "h": 255.4
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#2B74CC
secondary
#D0AD82
accent
#9C40E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2B74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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