#2A7DB1#2A7DB1

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

Color values

HEX#2A7DB1
RGBrgb(42, 125, 177)
HSLhsl(203, 62%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(76.3%, 29.4%, 0%, 30.6%)
CIE-LABlab(49.90, -6.69, -34.55)
CIE-LCHlch(49.90, 35.19, 259.04°)
OKLaboklab(56.46% -0.0546 -0.0978)
OKLCHoklch(56.46% 0.112 240.8)
XYZxyz(16.2212, 18.3319, 44.2699)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DB1 #B15E2A
analogous
#2AB1A1 #2A7DB1 #2A39B1
triadic
#2A7DB1 #B12A7D #7DB12A
tetradic
#2A7DB1 #A12AB1 #B15E2A #39B12A
square
#2A7DB1 #A12AB1 #B15E2A #39B12A
split-complementary
#2A7DB1 #B12A39 #B1A12A
monochromatic
#13374E #1E5A80 #2A7DB1 #459CD3 #77B7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7DB1#FFFFFF#000000##000000
##2A7DB11.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)
#657EB3
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7db1;
/* rgb */ color: rgb(42, 125, 177);
/* oklch */ color: oklch(56.5% 0.112 240.8);
Tailwind
colors: {
  custom: {
    50: '#77a2c8',
    500: '#2a7db1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7db1;
$custom-light: #77a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7db1",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 203.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.11195,
    "h": 240.8
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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