#2A6BB6#2A6BB6

#2A6BB6 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.135 H 254.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB6
RGBrgb(42, 107, 182)
HSLhsl(212, 63%, 44%)
HSVhsv(212, 77%, 71%)
CMYKcmyk(76.9%, 41.2%, 0%, 28.6%)
CIE-LABlab(44.78, 6.13, -45.55)
CIE-LCHlch(44.78, 45.96, 277.66°)
OKLaboklab(52.53% -0.0365 -0.1302)
OKLCHoklch(52.53% 0.135 254.3)
XYZxyz(14.6529, 14.3833, 46.2509)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB6 #B6752A
analogous
#2AB1B6 #2A6BB6 #2F2AB6
triadic
#2A6BB6 #B62A6B #6BB62A
tetradic
#2A6BB6 #B62AB1 #B6752A #2AB62F
square
#2A6BB6 #B62AB1 #B6752A #2AB62F
split-complementary
#2A6BB6 #B62F2A #B1B62A
monochromatic
#133153 #1F4E84 #2A6BB6 #488AD5 #7AAAE0

Accessibility & contrast

On white

5.42
#2A6BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2A6BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB6#FFFFFF#000000##FFFFFF
##2A6BB61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6bb6;
/* rgb */ color: rgb(42, 107, 182);
/* oklch */ color: oklch(52.5% 0.135 254.3);
Tailwind
colors: {
  custom: {
    50: '#7894cc',
    500: '#2a6bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb6;
$custom-light: #7894cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb6",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 212.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.13523,
    "h": 254.3
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#2A6BB6
secondary
#C8A173
accent
#9A42E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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