#2A7DB5#2A7DB5

#2A7DB5 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.117 H 242.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A7DB5
RGBrgb(42, 125, 181)
HSLhsl(204, 62%, 44%)
HSVhsv(204, 77%, 71%)
CMYKcmyk(76.8%, 30.9%, 0%, 29%)
CIE-LABlab(50.09, -5.24, -36.56)
CIE-LCHlch(50.09, 36.93, 261.85°)
OKLaboklab(56.68% -0.0533 -0.1036)
OKLCHoklch(56.68% 0.117 242.8)
XYZxyz(16.6257, 18.4937, 46.4005)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DB5 #B5622A
analogous
#2AB5A7 #2A7DB5 #2A37B5
triadic
#2A7DB5 #B52A7D #7DB52A
tetradic
#2A7DB5 #A72AB5 #B5622A #37B52A
square
#2A7DB5 #A72AB5 #B5622A #37B52A
split-complementary
#2A7DB5 #B52A37 #B5A72A
monochromatic
#133852 #1E5B83 #2A7DB5 #489CD4 #79B7E0

Accessibility & contrast

On white

4.47
#2A7DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A7DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DB5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DB5#FFFFFF#000000##000000
##2A7DB51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB7
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7db5;
/* rgb */ color: rgb(42, 125, 181);
/* oklch */ color: oklch(56.7% 0.117 242.8);
Tailwind
colors: {
  custom: {
    50: '#78a2cb',
    500: '#2a7db5',
    950: '#000000',
  },
}
SCSS
$custom: #2a7db5;
$custom-light: #78a2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7db5",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 204.173,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.1165,
    "h": 242.8
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#2A7DB5
secondary
#C89573
accent
#8442E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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