#2A7BB1#2A7BB1

#2A7BB1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.114 H 242.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7BB1
RGBrgb(42, 123, 177)
HSLhsl(204, 62%, 43%)
HSVhsv(204, 76%, 69%)
CMYKcmyk(76.3%, 30.5%, 0%, 30.6%)
CIE-LABlab(49.29, -5.51, -35.50)
CIE-LCHlch(49.29, 35.93, 261.17°)
OKLaboklab(55.98% -0.0526 -0.1005)
OKLCHoklch(55.98% 0.114 242.4)
XYZxyz(15.9705, 17.8306, 44.1864)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BB1 #B1602A
analogous
#2AB1A3 #2A7BB1 #2A37B1
triadic
#2A7BB1 #B12A7B #7BB12A
tetradic
#2A7BB1 #A32AB1 #B1602A #37B12A
square
#2A7BB1 #A32AB1 #B1602A #37B12A
split-complementary
#2A7BB1 #B12A37 #B1A32A
monochromatic
#13364E #1E5980 #2A7BB1 #459AD3 #77B5DF

Accessibility & contrast

On white

4.60
#2A7BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2A7BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BB1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BB1#FFFFFF#000000##FFFFFF
##2A7BB11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627CB3
Deuteranopia (green-blind)
#4F70B0
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7bb1;
/* rgb */ color: rgb(42, 123, 177);
/* oklch */ color: oklch(56.0% 0.114 242.4);
Tailwind
colors: {
  custom: {
    50: '#77a1c8',
    500: '#2a7bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7bb1;
$custom-light: #77a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7bb1",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 204,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55982,
    "c": 0.1135,
    "h": 242.4
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#2A7BB1
secondary
#C69370
accent
#8443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A7BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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