#2A7CB1#2A7CB1

#2A7CB1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.113 H 241.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7CB1
RGBrgb(42, 124, 177)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 76%, 69%)
CMYKcmyk(76.3%, 29.9%, 0%, 30.6%)
CIE-LABlab(49.59, -6.10, -35.03)
CIE-LCHlch(49.59, 35.55, 260.11°)
OKLaboklab(56.22% -0.0536 -0.0991)
OKLCHoklch(56.22% 0.113 241.6)
XYZxyz(16.0952, 18.0800, 44.2280)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CB1 #B15F2A
analogous
#2AB1A3 #2A7CB1 #2A38B1
triadic
#2A7CB1 #B12A7C #7CB12A
tetradic
#2A7CB1 #A32AB1 #B15F2A #38B12A
square
#2A7CB1 #A32AB1 #B15F2A #38B12A
split-complementary
#2A7CB1 #B12A38 #B1A32A
monochromatic
#13374E #1E5980 #2A7CB1 #459BD3 #77B6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7CB1#FFFFFF#000000##000000
##2A7CB11.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)
#637DB3
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7cb1;
/* rgb */ color: rgb(42, 124, 177);
/* oklch */ color: oklch(56.2% 0.113 241.6);
Tailwind
colors: {
  custom: {
    50: '#77a1c8',
    500: '#2a7cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cb1;
$custom-light: #77a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cb1",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 203.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.11271,
    "h": 241.6
  },
  "luminance": 0.18082
}

Semantic roles & 50–950 ramp

primary
#2A7CB1
secondary
#C69270
accent
#8343E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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