#2B7BD2#2B7BD2

#2B7BD2 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 58.0% C 0.154 H 253.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2B7BD2
RGBrgb(43, 123, 210)
HSLhsl(211, 66%, 50%)
HSVhsv(211, 80%, 82%)
CMYKcmyk(79.5%, 41.4%, 0%, 17.6%)
CIE-LABlab(51.07, 6.84, -51.59)
CIE-LCHlch(51.07, 52.04, 277.55°)
OKLaboklab(57.96% -0.0433 -0.1476)
OKLCHoklch(57.96% 0.154 253.6)
XYZxyz(19.7077, 19.3303, 63.6527)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7BD2 #D2822B
analogous
#2BCFD2 #2B7BD2 #2E2BD2
triadic
#2B7BD2 #D22B7B #7BD22B
tetradic
#2B7BD2 #D22BCF #D2822B #2BD22E
square
#2B7BD2 #D22BCF #D2822B #2BD22E
split-complementary
#2B7BD2 #D22E2B #CFD22B
monochromatic
#163F6C #215D9F #2B7BD2 #5C9ADE #8FBAE8

Accessibility & contrast

On white

4.32
#2B7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2B7BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7BD2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7BD2#FFFFFF#000000##000000
##2B7BD21.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D5
Deuteranopia (green-blind)
#3273D0
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b7bd2;
/* rgb */ color: rgb(43, 123, 210);
/* oklch */ color: oklch(58.0% 0.154 253.6);
Tailwind
colors: {
  custom: {
    50: '#7ea0e0',
    500: '#2b7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #2b7bd2;
$custom-light: #7ea0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7bd2",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 211.257,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.15386,
    "h": 253.6
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#2B7BD2
secondary
#D3AE86
accent
#973FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2B7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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