#2A7CB0#2A7CB0

#2A7CB0 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.112 H 241.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A7CB0
RGBrgb(42, 124, 176)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(76.1%, 29.5%, 0%, 31%)
CIE-LABlab(49.55, -6.47, -34.52)
CIE-LCHlch(49.55, 35.12, 259.39°)
OKLaboklab(56.17% -0.0539 -0.0977)
OKLCHoklch(56.17% 0.112 241.1)
XYZxyz(15.9959, 18.0403, 43.7050)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CB0 #B05E2A
analogous
#2AB0A1 #2A7CB0 #2A39B0
triadic
#2A7CB0 #B02A7C #7CB02A
tetradic
#2A7CB0 #A12AB0 #B05E2A #39B02A
square
#2A7CB0 #A12AB0 #B05E2A #39B02A
split-complementary
#2A7CB0 #B02A39 #B0A12A
monochromatic
#12364D #1E597F #2A7CB0 #459BD3 #76B6DE

Accessibility & contrast

On white

4.56
#2A7CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2A7CB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CB0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CB0#FFFFFF#000000##000000
##2A7CB01.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB2
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7cb0;
/* rgb */ color: rgb(42, 124, 176);
/* oklch */ color: oklch(56.2% 0.112 241.1);
Tailwind
colors: {
  custom: {
    50: '#77a1c8',
    500: '#2a7cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cb0;
$custom-light: #77a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cb0",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 176
  },
  "hsl": {
    "h": 203.284,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.11158,
    "h": 241.1
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#2A7CB0
secondary
#C69170
accent
#8243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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