#2B7EA1#2B7EA1

#2B7EA1 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.095 H 230.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2B7EA1
RGBrgb(43, 126, 161)
HSLhsl(198, 58%, 40%)
HSVhsv(198, 73%, 63%)
CMYKcmyk(73.3%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.50, -12.82, -25.87)
CIE-LCHlch(49.50, 28.87, 243.64°)
OKLaboklab(55.92% -0.0606 -0.0726)
OKLCHoklch(55.92% 0.095 230.2)
XYZxyz(14.8875, 18.0068, 36.4023)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EA1 #A14E2B
analogous
#2BA189 #2B7EA1 #2B43A1
triadic
#2B7EA1 #A12B7E #7EA12B
tetradic
#2B7EA1 #892BA1 #A14E2B #43A12B
square
#2B7EA1 #892BA1 #A14E2B #43A12B
split-complementary
#2B7EA1 #A12B43 #A1892B
monochromatic
#113240 #1E5871 #2B7EA1 #3EA1CB #6EB9D8

Accessibility & contrast

On white

4.56
#2B7EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2B7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7EA1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7EA1#FFFFFF#000000##000000
##2B7EA11.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b7ea1;
/* rgb */ color: rgb(43, 126, 161);
/* oklch */ color: oklch(55.9% 0.095 230.2);
Tailwind
colors: {
  custom: {
    50: '#75a3bd',
    500: '#2b7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2b7ea1;
$custom-light: #75a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7ea1",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 197.797,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.0946,
    "h": 230.2
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#2B7EA1
secondary
#BF8269
accent
#7547E1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2B7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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