#2A7CB7#2A7CB7

#2A7CB7 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.6% C 0.120 H 244.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2A7CB7
RGBrgb(42, 124, 183)
HSLhsl(205, 63%, 44%)
HSVhsv(205, 77%, 72%)
CMYKcmyk(77%, 32.2%, 0%, 28.2%)
CIE-LABlab(49.89, -3.92, -38.03)
CIE-LCHlch(49.89, 38.23, 264.12°)
OKLaboklab(56.55% -0.0517 -0.1079)
OKLCHoklch(56.55% 0.12 244.4)
XYZxyz(16.7064, 18.3245, 47.4470)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CB7 #B7652A
analogous
#2AB7AC #2A7CB7 #2A36B7
triadic
#2A7CB7 #B72A7C #7CB72A
tetradic
#2A7CB7 #AC2AB7 #B7652A #36B72A
square
#2A7CB7 #AC2AB7 #B7652A #36B72A
split-complementary
#2A7CB7 #B72A36 #B7AC2A
monochromatic
#133953 #1F5A85 #2A7CB7 #499BD5 #7BB6E1

Accessibility & contrast

On white

4.50
#2A7CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2A7CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CB7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CB7#FFFFFF#000000##000000
##2A7CB71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#4D71B6
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7cb7;
/* rgb */ color: rgb(42, 124, 183);
/* oklch */ color: oklch(56.6% 0.120 244.4);
Tailwind
colors: {
  custom: {
    50: '#78a1cd',
    500: '#2a7cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cb7;
$custom-light: #78a1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cb7",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 205.106,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.11966,
    "h": 244.4
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#2A7CB7
secondary
#C99774
accent
#8742E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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