#2B7EAA#2B7EAA

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

Color values

HEX#2B7EAA
RGBrgb(43, 126, 170)
HSLhsl(201, 60%, 42%)
HSVhsv(201, 75%, 67%)
CMYKcmyk(74.7%, 25.9%, 0%, 33.3%)
CIE-LABlab(49.90, -9.66, -30.49)
CIE-LCHlch(49.90, 31.98, 252.42°)
OKLaboklab(56.37% -0.0574 -0.0859)
OKLCHoklch(56.37% 0.103 236.3)
XYZxyz(15.7099, 18.3358, 40.7336)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7EAA #AA572B
analogous
#2BAA96 #2B7EAA #2B3FAA
triadic
#2B7EAA #AA2B7E #7EAA2B
tetradic
#2B7EAA #962BAA #AA572B #3FAA2B
square
#2B7EAA #962BAA #AA572B #3FAA2B
split-complementary
#2B7EAA #AA2B3F #AA962B
monochromatic
#123648 #1F5A79 #2B7EAA #439FCF #74B8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7EAA#FFFFFF#000000##000000
##2B7EAA1.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)
#697DAC
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7eaa;
/* rgb */ color: rgb(43, 126, 170);
/* oklch */ color: oklch(56.4% 0.103 236.3);
Tailwind
colors: {
  custom: {
    50: '#76a3c3',
    500: '#2b7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2b7eaa;
$custom-light: #76a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7eaa",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 200.787,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.10334,
    "h": 236.3
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#2B7EAA
secondary
#C38B6E
accent
#7C45E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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