#2A7CAF#2A7CAF

#2A7CAF is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.110 H 240.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7CAF
RGBrgb(42, 124, 175)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(76%, 29.1%, 0%, 31.4%)
CIE-LABlab(49.50, -6.83, -34.02)
CIE-LCHlch(49.50, 34.70, 258.65°)
OKLaboklab(56.11% -0.0542 -0.0962)
OKLCHoklch(56.11% 0.11 240.6)
XYZxyz(15.8973, 18.0008, 43.1858)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CAF #AF5D2A
analogous
#2AAFA0 #2A7CAF #2A39AF
triadic
#2A7CAF #AF2A7C #7CAF2A
tetradic
#2A7CAF #A02AAF #AF5D2A #39AF2A
square
#2A7CAF #A02AAF #AF5D2A #39AF2A
split-complementary
#2A7CAF #AF2A39 #AFA02A
monochromatic
#12364C #1E597E #2A7CAF #449CD2 #75B6DE

Accessibility & contrast

On white

4.56
#2A7CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2A7CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CAF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CAF#FFFFFF#000000##000000
##2A7CAF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7caf;
/* rgb */ color: rgb(42, 124, 175);
/* oklch */ color: oklch(56.1% 0.110 240.6);
Tailwind
colors: {
  custom: {
    50: '#77a1c7',
    500: '#2a7caf',
    950: '#000000',
  },
}
SCSS
$custom: #2a7caf;
$custom-light: #77a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7caf",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 203.008,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.11045,
    "h": 240.6
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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