#2A6AB6#2A6AB6

#2A6AB6 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.136 H 254.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB6
RGBrgb(42, 106, 182)
HSLhsl(213, 63%, 44%)
HSVhsv(213, 77%, 71%)
CMYKcmyk(76.9%, 41.8%, 0%, 28.6%)
CIE-LABlab(44.48, 6.76, -46.02)
CIE-LCHlch(44.48, 46.52, 278.35°)
OKLaboklab(52.3% -0.0356 -0.1316)
OKLCHoklch(52.3% 0.136 254.9)
XYZxyz(14.5492, 14.1760, 46.2163)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB6 #B6762A
analogous
#2AB0B6 #2A6AB6 #302AB6
triadic
#2A6AB6 #B62A6A #6AB62A
tetradic
#2A6AB6 #B62AB0 #B6762A #2AB630
square
#2A6AB6 #B62AB0 #B6762A #2AB630
split-complementary
#2A6AB6 #B6302A #B0B62A
monochromatic
#133053 #1F4D84 #2A6AB6 #4889D5 #7AA9E0

Accessibility & contrast

On white

5.48
#2A6AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2A6AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AB6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB6#FFFFFF#000000##FFFFFF
##2A6AB61.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4570B9
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6ab6;
/* rgb */ color: rgb(42, 106, 182);
/* oklch */ color: oklch(52.3% 0.136 254.9);
Tailwind
colors: {
  custom: {
    50: '#7894cc',
    500: '#2a6ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab6;
$custom-light: #7894cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab6",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 182
  },
  "hsl": {
    "h": 212.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.13634,
    "h": 254.9
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#2A6AB6
secondary
#C8A273
accent
#9B42E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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