#2B7DB2#2B7DB2

#2B7DB2 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.113 H 241.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B7DB2
RGBrgb(43, 125, 178)
HSLhsl(204, 61%, 43%)
HSVhsv(204, 76%, 70%)
CMYKcmyk(75.8%, 29.8%, 0%, 30.2%)
CIE-LABlab(49.97, -6.21, -35.01)
CIE-LCHlch(49.97, 35.56, 259.95°)
OKLaboklab(56.54% -0.0537 -0.0991)
OKLCHoklch(56.54% 0.113 241.5)
XYZxyz(16.3626, 18.3933, 44.7987)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7DB2 #B2602B
analogous
#2BB2A3 #2B7DB2 #2B39B2
triadic
#2B7DB2 #B22B7D #7DB22B
tetradic
#2B7DB2 #A32BB2 #B2602B #39B22B
square
#2B7DB2 #A32BB2 #B2602B #39B22B
split-complementary
#2B7DB2 #B22B39 #B2A32B
monochromatic
#13384F #1F5A81 #2B7DB2 #489CD3 #79B7DF

Accessibility & contrast

On white

4.49
#2B7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2B7DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7DB2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7DB2#FFFFFF#000000##000000
##2B7DB21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7db2;
/* rgb */ color: rgb(43, 125, 178);
/* oklch */ color: oklch(56.5% 0.113 241.5);
Tailwind
colors: {
  custom: {
    50: '#78a2c9',
    500: '#2b7db2',
    950: '#000000',
  },
}
SCSS
$custom: #2b7db2;
$custom-light: #78a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7db2",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 203.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.11272,
    "h": 241.5
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#2B7DB2
secondary
#C79372
accent
#8344E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2B7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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