#2A6EB5#2A6EB5

#2A6EB5 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.131 H 252.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB5
RGBrgb(42, 110, 181)
HSLhsl(211, 62%, 44%)
HSVhsv(211, 77%, 71%)
CMYKcmyk(76.8%, 39.2%, 0%, 29%)
CIE-LABlab(45.60, 3.87, -43.65)
CIE-LCHlch(45.60, 43.82, 275.06°)
OKLaboklab(53.15% -0.0394 -0.1246)
OKLCHoklch(53.15% 0.131 252.4)
XYZxyz(14.8681, 14.9786, 45.8146)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB5 #B5712A
analogous
#2AB3B5 #2A6EB5 #2B2AB5
triadic
#2A6EB5 #B52A6E #6EB52A
tetradic
#2A6EB5 #B52AB3 #B5712A #2AB52B
square
#2A6EB5 #B52AB3 #B5712A #2AB52B
split-complementary
#2A6EB5 #B52B2A #B3B52A
monochromatic
#133252 #1E5083 #2A6EB5 #488DD4 #79ACE0

Accessibility & contrast

On white

5.26
#2A6EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A6EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB5#FFFFFF#000000##FFFFFF
##2A6EB51.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#3666B4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6eb5;
/* rgb */ color: rgb(42, 110, 181);
/* oklch */ color: oklch(53.2% 0.131 252.4);
Tailwind
colors: {
  custom: {
    50: '#7897cb',
    500: '#2a6eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb5;
$custom-light: #7897cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb5",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 181
  },
  "hsl": {
    "h": 210.647,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.13066,
    "h": 252.4
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#2A6EB5
secondary
#C89E73
accent
#9642E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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