#2A7DB2#2A7DB2

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

Color values

HEX#2A7DB2
RGBrgb(42, 125, 178)
HSLhsl(203, 62%, 43%)
HSVhsv(203, 76%, 70%)
CMYKcmyk(76.4%, 29.8%, 0%, 30.2%)
CIE-LABlab(49.94, -6.33, -35.05)
CIE-LCHlch(49.94, 35.62, 259.76°)
OKLaboklab(56.52% -0.0542 -0.0992)
OKLCHoklch(56.52% 0.113 241.3)
XYZxyz(16.3212, 18.3719, 44.7968)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DB2 #B25F2A
analogous
#2AB2A3 #2A7DB2 #2A39B2
triadic
#2A7DB2 #B22A7D #7DB22A
tetradic
#2A7DB2 #A32AB2 #B25F2A #39B22A
square
#2A7DB2 #A32AB2 #B25F2A #39B22A
split-complementary
#2A7DB2 #B22A39 #B2A32A
monochromatic
#13374F #1E5A80 #2A7DB2 #469CD3 #77B7DF

Accessibility & contrast

On white

4.49
#2A7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7DB2#FFFFFF#000000##000000
##2A7DB21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7db2;
/* rgb */ color: rgb(42, 125, 178);
/* oklch */ color: oklch(56.5% 0.113 241.3);
Tailwind
colors: {
  custom: {
    50: '#77a2c9',
    500: '#2a7db2',
    950: '#000000',
  },
}
SCSS
$custom: #2a7db2;
$custom-light: #77a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7db2",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 203.382,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.11308,
    "h": 241.3
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

primary
#2A7DB2
secondary
#C79271
accent
#8243E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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