#2B74C7#2B74C7

#2B74C7 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.7% C 0.147 H 254.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B74C7
RGBrgb(43, 116, 199)
HSLhsl(212, 64%, 47%)
HSVhsv(212, 78%, 78%)
CMYKcmyk(78.4%, 41.7%, 0%, 22%)
CIE-LABlab(48.42, 7.04, -49.56)
CIE-LCHlch(48.42, 50.05, 278.08°)
OKLaboklab(55.69% -0.0399 -0.1418)
OKLCHoklch(55.69% 0.147 254.3)
XYZxyz(17.5466, 17.1258, 56.4026)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B74C7 #C77E2B
analogous
#2BC2C7 #2B74C7 #302BC7
triadic
#2B74C7 #C72B74 #74C72B
tetradic
#2B74C7 #C72BC2 #C77E2B #2BC730
square
#2B74C7 #C72BC2 #C77E2B #2BC730
split-complementary
#2B74C7 #C7302B #C2C72B
monochromatic
#153962 #205795 #2B74C7 #5593DA #87B3E5

Accessibility & contrast

On white

4.75
#2B74C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2B74C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B74C7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B74C7#FFFFFF#000000##FFFFFF
##2B74C71.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCA
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b74c7;
/* rgb */ color: rgb(43, 116, 199);
/* oklch */ color: oklch(55.7% 0.147 254.3);
Tailwind
colors: {
  custom: {
    50: '#7c9bd8',
    500: '#2b74c7',
    950: '#000000',
  },
}
SCSS
$custom: #2b74c7;
$custom-light: #7c9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b74c7",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 211.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.1473,
    "h": 254.3
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#2B74C7
secondary
#CFA97F
accent
#9940E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2B74C7

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

Preview Lab → · Contrast checker → · Palette generator →

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