#2A7DAF#2A7DAF

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

Color values

HEX#2A7DAF
RGBrgb(42, 125, 175)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(76%, 28.6%, 0%, 31.4%)
CIE-LABlab(49.80, -7.41, -33.54)
CIE-LCHlch(49.80, 34.35, 257.54°)
OKLaboklab(56.36% -0.0552 -0.0948)
OKLCHoklch(56.36% 0.11 239.8)
XYZxyz(16.0233, 18.2527, 43.2278)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DAF #AF5C2A
analogous
#2AAF9E #2A7DAF #2A3BAF
triadic
#2A7DAF #AF2A7D #7DAF2A
tetradic
#2A7DAF #9E2AAF #AF5C2A #3BAF2A
square
#2A7DAF #9E2AAF #AF5C2A #3BAF2A
split-complementary
#2A7DAF #AF2A3B #AF9E2A
monochromatic
#12364C #1E5A7E #2A7DAF #449DD2 #75B7DE

Accessibility & contrast

On white

4.52
#2A7DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2A7DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DAF#FFFFFF#000000##000000
##2A7DAF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667DB1
Deuteranopia (green-blind)
#5371AE
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7daf;
/* rgb */ color: rgb(42, 125, 175);
/* oklch */ color: oklch(56.4% 0.110 239.8);
Tailwind
colors: {
  custom: {
    50: '#77a2c7',
    500: '#2a7daf',
    950: '#000000',
  },
}
SCSS
$custom: #2a7daf;
$custom-light: #77a2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7daf",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 202.556,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.10973,
    "h": 239.8
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#2A7DAF
secondary
#C6906F
accent
#8043E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2A7DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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