#2B74BB#2B74BB

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

Color values

HEX#2B74BB
RGBrgb(43, 116, 187)
HSLhsl(210, 63%, 45%)
HSVhsv(210, 77%, 73%)
CMYKcmyk(77%, 38%, 0%, 26.7%)
CIE-LABlab(47.74, 2.53, -43.73)
CIE-LCHlch(47.74, 43.81, 273.31°)
OKLaboklab(54.94% -0.0428 -0.1247)
OKLCHoklch(54.94% 0.132 251.1)
XYZxyz(16.2079, 16.5903, 49.3521)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B74BB #BB722B
analogous
#2BBBBA #2B74BB #2B2CBB
triadic
#2B74BB #BB2B74 #74BB2B
tetradic
#2B74BB #BA2BBB #BB722B #2CBB2B
square
#2B74BB #BA2BBB #BB722B #2CBB2B
split-complementary
#2B74BB #BB2B2C #BBBA2B
monochromatic
#143657 #205589 #2B74BB #4D93D6 #7FB1E2

Accessibility & contrast

On white

4.86
#2B74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B74BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B74BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B74BB#FFFFFF#000000##FFFFFF
##2B74BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b74bb;
/* rgb */ color: rgb(43, 116, 187);
/* oklch */ color: oklch(54.9% 0.132 251.1);
Tailwind
colors: {
  custom: {
    50: '#799bd0',
    500: '#2b74bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b74bb;
$custom-light: #799bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b74bb",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 209.583,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.13182,
    "h": 251.1
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#2B74BB
secondary
#CAA078
accent
#9342E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2B74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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