#2B7795#2B7795

#2B7795 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.087 H 228.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2B7795
RGBrgb(43, 119, 149)
HSLhsl(197, 55%, 38%)
HSVhsv(197, 71%, 58%)
CMYKcmyk(71.1%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.81, -13.02, -23.00)
CIE-LCHlch(46.81, 26.43, 240.49°)
OKLaboklab(53.6% -0.0579 -0.0644)
OKLCHoklch(53.6% 0.087 228.1)
XYZxyz(13.0157, 15.8757, 30.8063)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7795 #95492B
analogous
#2B957E #2B7795 #2B4295
triadic
#2B7795 #952B77 #77952B
tetradic
#2B7795 #7E2B95 #95492B #42952B
square
#2B7795 #7E2B95 #95492B #42952B
split-complementary
#2B7795 #952B42 #957E2B
monochromatic
#102B36 #1D5166 #2B7795 #399DC4 #67B5D3

Accessibility & contrast

On white

5.03
#2B7795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2B7795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7795
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7795#FFFFFF#000000##FFFFFF
##2B77951.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677596
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7795;
/* rgb */ color: rgb(43, 119, 149);
/* oklch */ color: oklch(53.6% 0.087 228.1);
Tailwind
colors: {
  custom: {
    50: '#729eb4',
    500: '#2b7795',
    950: '#000000',
  },
}
SCSS
$custom: #2b7795;
$custom-light: #729eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7795",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 196.981,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.08662,
    "h": 228.1
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#2B7795
secondary
#BA7B62
accent
#7449DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7795

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

Preview Lab → · Contrast checker → · Palette generator →

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