#2A6BB7#2A6BB7

#2A6BB7 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.137 H 254.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB7
RGBrgb(42, 107, 183)
HSLhsl(212, 63%, 44%)
HSVhsv(212, 77%, 72%)
CMYKcmyk(77%, 41.5%, 0%, 28.2%)
CIE-LABlab(44.84, 6.51, -46.04)
CIE-LCHlch(44.84, 46.50, 278.04°)
OKLaboklab(52.59% -0.0363 -0.1316)
OKLCHoklch(52.59% 0.137 254.6)
XYZxyz(14.7566, 14.4248, 46.7971)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB7 #B7762A
analogous
#2AB2B7 #2A6BB7 #2F2AB7
triadic
#2A6BB7 #B72A6B #6BB72A
tetradic
#2A6BB7 #B72AB2 #B7762A #2AB72F
square
#2A6BB7 #B72AB2 #B7762A #2AB72F
split-complementary
#2A6BB7 #B72F2A #B2B72A
monochromatic
#133153 #1F4E85 #2A6BB7 #498AD5 #7BAAE1

Accessibility & contrast

On white

5.40
#2A6BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A6BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB7#FFFFFF#000000##FFFFFF
##2A6BB71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6bb7;
/* rgb */ color: rgb(42, 107, 183);
/* oklch */ color: oklch(52.6% 0.137 254.6);
Tailwind
colors: {
  custom: {
    50: '#7894cd',
    500: '#2a6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb7;
$custom-light: #7894cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb7",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 212.34,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.13655,
    "h": 254.6
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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