#2A7ABD#2A7ABD

#2A7ABD is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.129 H 248.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7ABD
RGBrgb(42, 122, 189)
HSLhsl(207, 64%, 45%)
HSVhsv(207, 78%, 74%)
CMYKcmyk(77.8%, 35.4%, 0%, 25.9%)
CIE-LABlab(49.60, -0.50, -41.94)
CIE-LCHlch(49.60, 41.95, 269.31°)
OKLaboklab(56.42% -0.0482 -0.1194)
OKLCHoklch(56.42% 0.129 248)
XYZxyz(17.0962, 18.0834, 50.7237)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7ABD #BD6D2A
analogous
#2ABDB6 #2A7ABD #2A31BD
triadic
#2A7ABD #BD2A7A #7ABD2A
tetradic
#2A7ABD #B62ABD #BD6D2A #31BD2A
square
#2A7ABD #B62ABD #BD6D2A #31BD2A
split-complementary
#2A7ABD #BD2A31 #BDB62A
monochromatic
#143959 #1F5A8B #2A7ABD #4D98D7 #7FB5E3

Accessibility & contrast

On white

4.55
#2A7ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2A7ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7ABD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7ABD#FFFFFF#000000##000000
##2A7ABD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DC0
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7abd;
/* rgb */ color: rgb(42, 122, 189);
/* oklch */ color: oklch(56.4% 0.129 248.0);
Tailwind
colors: {
  custom: {
    50: '#79a0d1',
    500: '#2a7abd',
    950: '#000000',
  },
}
SCSS
$custom: #2a7abd;
$custom-light: #79a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7abd",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 207.347,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.12871,
    "h": 248
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#2A7ABD
secondary
#CB9E78
accent
#8D41E7
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2A7ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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