#2A81B1#2A81B1

#2A81B1 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.4% C 0.109 H 237.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A81B1
RGBrgb(42, 129, 177)
HSLhsl(201, 62%, 43%)
HSVhsv(201, 76%, 69%)
CMYKcmyk(76.3%, 27.1%, 0%, 30.6%)
CIE-LABlab(51.11, -9.02, -32.65)
CIE-LCHlch(51.11, 33.87, 254.56°)
OKLaboklab(57.43% -0.0584 -0.0922)
OKLCHoklch(57.43% 0.109 237.6)
XYZxyz(16.7378, 19.3651, 44.4421)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A81B1 #B15A2A
analogous
#2AB19D #2A81B1 #2A3EB1
triadic
#2A81B1 #B12A81 #81B12A
tetradic
#2A81B1 #9D2AB1 #B15A2A #3EB12A
square
#2A81B1 #9D2AB1 #B15A2A #3EB12A
split-complementary
#2A81B1 #B12A3E #B19D2A
monochromatic
#13394E #1E5D80 #2A81B1 #45A1D3 #77BADF

Accessibility & contrast

On white

4.31
#2A81B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2A81B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A81B1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A81B1#FFFFFF#000000##000000
##2A81B11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B3
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a81b1;
/* rgb */ color: rgb(42, 129, 177);
/* oklch */ color: oklch(57.4% 0.109 237.6);
Tailwind
colors: {
  custom: {
    50: '#77a5c8',
    500: '#2a81b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a81b1;
$custom-light: #77a5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a81b1",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 177
  },
  "hsl": {
    "h": 201.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.10913,
    "h": 237.6
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#2A81B1
secondary
#C68F70
accent
#7D43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2A81B1

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

Preview Lab → · Contrast checker → · Palette generator →

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