#2B7FA3#2B7FA3

#2B7FA3 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.096 H 230.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA3
RGBrgb(43, 127, 163)
HSLhsl(198, 58%, 40%)
HSVhsv(198, 74%, 64%)
CMYKcmyk(73.6%, 22.1%, 0%, 36.1%)
CIE-LABlab(49.90, -12.69, -26.42)
CIE-LCHlch(49.90, 29.31, 244.35°)
OKLaboklab(56.26% -0.0609 -0.0742)
OKLCHoklch(56.26% 0.096 230.6)
XYZxyz(15.1938, 18.3349, 37.3815)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA3 #A34F2B
analogous
#2BA38B #2B7FA3 #2B43A3
triadic
#2B7FA3 #A32B7F #7FA32B
tetradic
#2B7FA3 #8B2BA3 #A34F2B #43A32B
square
#2B7FA3 #8B2BA3 #A34F2B #43A32B
split-complementary
#2B7FA3 #A32B43 #A38B2B
monochromatic
#113442 #1E5973 #2B7FA3 #3FA2CC #6FB9D9

Accessibility & contrast

On white

4.50
#2B7FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2B7FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA3#FFFFFF#000000##000000
##2B7FA31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7fa3;
/* rgb */ color: rgb(43, 127, 163);
/* oklch */ color: oklch(56.3% 0.096 230.6);
Tailwind
colors: {
  custom: {
    50: '#75a4be',
    500: '#2b7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa3;
$custom-light: #75a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa3",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 198,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.096,
    "h": 230.6
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#2B7FA3
secondary
#C0846A
accent
#7546E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2B7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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