#2A7DB0#2A7DB0

#2A7DB0 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.4% C 0.111 H 240.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7DB0
RGBrgb(42, 125, 176)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(76.1%, 29%, 0%, 31%)
CIE-LABlab(49.85, -7.05, -34.05)
CIE-LCHlch(49.85, 34.77, 258.30°)
OKLaboklab(56.41% -0.0549 -0.0963)
OKLCHoklch(56.41% 0.111 240.3)
XYZxyz(16.1219, 18.2922, 43.7469)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DB0 #B05D2A
analogous
#2AB0A0 #2A7DB0 #2A3AB0
triadic
#2A7DB0 #B02A7D #7DB02A
tetradic
#2A7DB0 #A02AB0 #B05D2A #3AB02A
square
#2A7DB0 #A02AB0 #B05D2A #3AB02A
split-complementary
#2A7DB0 #B02A3A #B0A02A
monochromatic
#12374D #1E5A7F #2A7DB0 #459DD3 #76B7DE

Accessibility & contrast

On white

4.51
#2A7DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A7DB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DB0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DB0#FFFFFF#000000##000000
##2A7DB01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB2
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7db0;
/* rgb */ color: rgb(42, 125, 176);
/* oklch */ color: oklch(56.4% 0.111 240.3);
Tailwind
colors: {
  custom: {
    50: '#77a2c8',
    500: '#2a7db0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7db0;
$custom-light: #77a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7db0",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 176
  },
  "hsl": {
    "h": 202.836,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56408,
    "c": 0.11084,
    "h": 240.3
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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