#2A7CB3#2A7CB3

#2A7CB3 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.3% C 0.115 H 242.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7CB3
RGBrgb(42, 124, 179)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 77%, 70%)
CMYKcmyk(76.5%, 30.7%, 0%, 29.8%)
CIE-LABlab(49.69, -5.38, -36.03)
CIE-LCHlch(49.69, 36.43, 261.51°)
OKLaboklab(56.33% -0.053 -0.1021)
OKLCHoklch(56.33% 0.115 242.6)
XYZxyz(16.2960, 18.1603, 45.2855)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CB3 #B3612A
analogous
#2AB3A5 #2A7CB3 #2A37B3
triadic
#2A7CB3 #B32A7C #7CB32A
tetradic
#2A7CB3 #A52AB3 #B3612A #37B32A
square
#2A7CB3 #A52AB3 #B3612A #37B32A
split-complementary
#2A7CB3 #B32A37 #B3A52A
monochromatic
#133750 #1E5A81 #2A7CB3 #469BD4 #78B6DF

Accessibility & contrast

On white

4.53
#2A7CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2A7CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CB3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CB3#FFFFFF#000000##000000
##2A7CB31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB5
Deuteranopia (green-blind)
#5070B2
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7cb3;
/* rgb */ color: rgb(42, 124, 179);
/* oklch */ color: oklch(56.3% 0.115 242.6);
Tailwind
colors: {
  custom: {
    50: '#77a1ca',
    500: '#2a7cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cb3;
$custom-light: #77a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cb3",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 204.088,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.115,
    "h": 242.6
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#2A7CB3
secondary
#C79472
accent
#8443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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