#2B6BAB#2B6BAB

#2B6BAB is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 51.9% C 0.120 H 251.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2B6BAB
RGBrgb(43, 107, 171)
HSLhsl(210, 60%, 42%)
HSVhsv(210, 75%, 67%)
CMYKcmyk(74.9%, 37.4%, 0%, 32.9%)
CIE-LABlab(44.19, 2.11, -40.06)
CIE-LCHlch(44.19, 40.12, 273.01°)
OKLaboklab(51.87% -0.0386 -0.1141)
OKLCHoklch(51.87% 0.12 251.3)
XYZxyz(13.6019, 13.9677, 40.4994)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BAB #AB6B2B
analogous
#2BABAB #2B6BAB #2B2BAB
triadic
#2B6BAB #AB2B6B #6BAB2B
tetradic
#2B6BAB #AB2BAB #AB6B2B #2BAB2B
square
#2B6BAB #AB2BAB #AB6B2B #2BAB2B
split-complementary
#2B6BAB #AB2B2B #ABAB2B
monochromatic
#122E49 #1F4C7A #2B6BAB #438AD0 #74A8DC

Accessibility & contrast

On white

5.54
#2B6BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2B6BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6BAB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6BAB#FFFFFF#000000##FFFFFF
##2B6BAB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b6bab;
/* rgb */ color: rgb(43, 107, 171);
/* oklch */ color: oklch(51.9% 0.120 251.3);
Tailwind
colors: {
  custom: {
    50: '#7695c4',
    500: '#2b6bab',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bab;
$custom-light: #7695c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bab",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 171
  },
  "hsl": {
    "h": 210,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51871,
    "c": 0.12044,
    "h": 251.3
  },
  "luminance": 0.13969
}

Semantic roles & 50–950 ramp

primary
#2B6BAB
secondary
#C4996E
accent
#9445E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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