#2A7DB8#2A7DB8

#2A7DB8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.120 H 244.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A7DB8
RGBrgb(42, 125, 184)
HSLhsl(205, 63%, 44%)
HSVhsv(205, 77%, 72%)
CMYKcmyk(77.2%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.24, -4.14, -38.05)
CIE-LCHlch(50.24, 38.28, 263.79°)
OKLaboklab(56.84% -0.0524 -0.108)
OKLCHoklch(56.84% 0.12 244.1)
XYZxyz(16.9368, 18.6182, 48.0391)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DB8 #B8652A
analogous
#2AB8AC #2A7DB8 #2A36B8
triadic
#2A7DB8 #B82A7D #7DB82A
tetradic
#2A7DB8 #AC2AB8 #B8652A #36B82A
square
#2A7DB8 #AC2AB8 #B8652A #36B82A
split-complementary
#2A7DB8 #B82A36 #B8AC2A
monochromatic
#133954 #1F5B86 #2A7DB8 #4A9BD6 #7BB7E1

Accessibility & contrast

On white

4.45
#2A7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2A7DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DB8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DB8#FFFFFF#000000##000000
##2A7DB81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a7db8;
/* rgb */ color: rgb(42, 125, 184);
/* oklch */ color: oklch(56.8% 0.120 244.1);
Tailwind
colors: {
  custom: {
    50: '#78a2cd',
    500: '#2a7db8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7db8;
$custom-light: #78a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7db8",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 204.93,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.11999,
    "h": 244.1
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#2A7DB8
secondary
#C99875
accent
#8642E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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