#2B7FA2#2B7FA2

#2B7FA2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.095 H 229.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA2
RGBrgb(43, 127, 162)
HSLhsl(198, 58%, 40%)
HSVhsv(198, 73%, 64%)
CMYKcmyk(73.5%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.86, -13.04, -25.91)
CIE-LCHlch(49.86, 29.00, 243.29°)
OKLaboklab(56.22% -0.0613 -0.0727)
OKLCHoklch(56.22% 0.095 229.9)
XYZxyz(15.1046, 18.2992, 36.9115)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA2 #A24E2B
analogous
#2BA289 #2B7FA2 #2B43A2
triadic
#2B7FA2 #A22B7F #7FA22B
tetradic
#2B7FA2 #892BA2 #A24E2B #43A22B
square
#2B7FA2 #892BA2 #A24E2B #43A22B
split-complementary
#2B7FA2 #A22B43 #A2892B
monochromatic
#113341 #1E5972 #2B7FA2 #3EA2CC #6FBAD9

Accessibility & contrast

On white

4.51
#2B7FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2B7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA2#FFFFFF#000000##000000
##2B7FA21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5D71A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7fa2;
/* rgb */ color: rgb(43, 127, 162);
/* oklch */ color: oklch(56.2% 0.095 229.9);
Tailwind
colors: {
  custom: {
    50: '#75a4bd',
    500: '#2b7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa2;
$custom-light: #75a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa2",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 197.647,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.0951,
    "h": 229.9
  },
  "luminance": 0.18301
}

Semantic roles & 50–950 ramp

primary
#2B7FA2
secondary
#C08369
accent
#7447E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2B7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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