#2B7A98#2B7A98

#2B7A98 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.088 H 227.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2B7A98
RGBrgb(43, 122, 152)
HSLhsl(197, 56%, 38%)
HSVhsv(197, 72%, 60%)
CMYKcmyk(71.7%, 19.7%, 0%, 40.4%)
CIE-LABlab(47.88, -13.68, -23.12)
CIE-LCHlch(47.88, 26.87, 239.39°)
OKLaboklab(54.49% -0.0599 -0.0648)
OKLCHoklch(54.49% 0.088 227.2)
XYZxyz(13.6210, 16.6981, 32.2049)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A98 #98492B
analogous
#2B987F #2B7A98 #2B4398
triadic
#2B7A98 #982B7A #7A982B
tetradic
#2B7A98 #7F2B98 #98492B #43982B
square
#2B7A98 #7F2B98 #98492B #43982B
split-complementary
#2B7A98 #982B43 #987F2B
monochromatic
#102D39 #1E5468 #2B7A98 #39A0C7 #69B7D5

Accessibility & contrast

On white

4.84
#2B7A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2B7A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A98
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A98#FFFFFF#000000##FFFFFF
##2B7A981.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789A
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b7a98;
/* rgb */ color: rgb(43, 122, 152);
/* oklch */ color: oklch(54.5% 0.088 227.2);
Tailwind
colors: {
  custom: {
    50: '#73a0b6',
    500: '#2b7a98',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a98;
$custom-light: #73a0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a98",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 196.514,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.08822,
    "h": 227.2
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#2B7A98
secondary
#BB7C64
accent
#7249DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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