#2A7CB5#2A7CB5

#2A7CB5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.117 H 243.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7CB5
RGBrgb(42, 124, 181)
HSLhsl(205, 62%, 44%)
HSVhsv(205, 77%, 71%)
CMYKcmyk(76.8%, 31.5%, 0%, 29%)
CIE-LABlab(49.79, -4.65, -37.03)
CIE-LCHlch(49.79, 37.32, 262.85°)
OKLaboklab(56.44% -0.0523 -0.105)
OKLCHoklch(56.44% 0.117 243.5)
XYZxyz(16.4997, 18.2418, 46.3585)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CB5 #B5632A
analogous
#2AB5A8 #2A7CB5 #2A36B5
triadic
#2A7CB5 #B52A7C #7CB52A
tetradic
#2A7CB5 #A82AB5 #B5632A #36B52A
square
#2A7CB5 #A82AB5 #B5632A #36B52A
split-complementary
#2A7CB5 #B52A36 #B5A82A
monochromatic
#133852 #1E5A83 #2A7CB5 #489BD4 #79B6E0

Accessibility & contrast

On white

4.52
#2A7CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2A7CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CB5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CB5#FFFFFF#000000##000000
##2A7CB51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB7
Deuteranopia (green-blind)
#4E71B4
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7cb5;
/* rgb */ color: rgb(42, 124, 181);
/* oklch */ color: oklch(56.4% 0.117 243.5);
Tailwind
colors: {
  custom: {
    50: '#78a1cb',
    500: '#2a7cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cb5;
$custom-light: #78a1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cb5",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 204.604,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.11732,
    "h": 243.5
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#2A7CB5
secondary
#C89673
accent
#8542E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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