#2A7BAF#2A7BAF

#2A7BAF is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.111 H 241.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A7BAF
RGBrgb(42, 123, 175)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 69%)
CMYKcmyk(76%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.19, -6.24, -34.50)
CIE-LCHlch(49.19, 35.06, 259.74°)
OKLaboklab(55.87% -0.0533 -0.0976)
OKLCHoklch(55.87% 0.111 241.4)
XYZxyz(15.7726, 17.7515, 43.1442)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BAF #AF5E2A
analogous
#2AAFA1 #2A7BAF #2A38AF
triadic
#2A7BAF #AF2A7B #7BAF2A
tetradic
#2A7BAF #A12AAF #AF5E2A #38AF2A
square
#2A7BAF #A12AAF #AF5E2A #38AF2A
split-complementary
#2A7BAF #AF2A38 #AFA12A
monochromatic
#12364C #1E587E #2A7BAF #449BD2 #75B5DE

Accessibility & contrast

On white

4.61
#2A7BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2A7BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BAF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BAF#FFFFFF#000000##FFFFFF
##2A7BAF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7baf;
/* rgb */ color: rgb(42, 123, 175);
/* oklch */ color: oklch(55.9% 0.111 241.4);
Tailwind
colors: {
  custom: {
    50: '#77a1c7',
    500: '#2a7baf',
    950: '#000000',
  },
}
SCSS
$custom: #2a7baf;
$custom-light: #77a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7baf",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 203.459,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.11121,
    "h": 241.4
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#2A7BAF
secondary
#C6916F
accent
#8243E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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