#2A6AB7#2A6AB7

#2A6AB7 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.4% C 0.138 H 255.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB7
RGBrgb(42, 106, 183)
HSLhsl(213, 63%, 44%)
HSVhsv(213, 77%, 72%)
CMYKcmyk(77%, 42.1%, 0%, 28.2%)
CIE-LABlab(44.54, 7.14, -46.51)
CIE-LCHlch(44.54, 47.06, 278.73°)
OKLaboklab(52.36% -0.0354 -0.133)
OKLCHoklch(52.36% 0.138 255.1)
XYZxyz(14.6529, 14.2175, 46.7626)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB7 #B7772A
analogous
#2AB1B7 #2A6AB7 #312AB7
triadic
#2A6AB7 #B72A6A #6AB72A
tetradic
#2A6AB7 #B72AB1 #B7772A #2AB731
square
#2A6AB7 #B72AB1 #B7772A #2AB731
split-complementary
#2A6AB7 #B7312A #B1B72A
monochromatic
#133053 #1F4D85 #2A6AB7 #4989D5 #7BA9E1

Accessibility & contrast

On white

5.46
#2A6AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6AB7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB7#FFFFFF#000000##FFFFFF
##2A6AB71.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#2B63B5
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6ab7;
/* rgb */ color: rgb(42, 106, 183);
/* oklch */ color: oklch(52.4% 0.138 255.1);
Tailwind
colors: {
  custom: {
    50: '#7894cd',
    500: '#2a6ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab7;
$custom-light: #7894cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab7",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 183
  },
  "hsl": {
    "h": 212.766,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.13767,
    "h": 255.1
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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