#2A6AB5#2A6AB5

#2A6AB5 is a mid, vivid cyan. Relative luminance 0.141; OKLCH L 52.2% C 0.135 H 254.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB5
RGBrgb(42, 106, 181)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 77%, 71%)
CMYKcmyk(76.8%, 41.4%, 0%, 29%)
CIE-LABlab(44.43, 6.38, -45.53)
CIE-LCHlch(44.43, 45.98, 277.98°)
OKLaboklab(52.23% -0.0358 -0.1302)
OKLCHoklch(52.23% 0.135 254.6)
XYZxyz(14.4463, 14.1348, 45.6740)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB5 #B5752A
analogous
#2AAFB5 #2A6AB5 #2F2AB5
triadic
#2A6AB5 #B52A6A #6AB52A
tetradic
#2A6AB5 #B52AAF #B5752A #2AB52F
square
#2A6AB5 #B52AAF #B5752A #2AB52F
split-complementary
#2A6AB5 #B52F2A #AFB52A
monochromatic
#133052 #1E4D83 #2A6AB5 #4889D4 #79A9E0

Accessibility & contrast

On white

5.49
#2A6AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2A6AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AB5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB5#FFFFFF#000000##FFFFFF
##2A6AB51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#2E63B4
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6ab5;
/* rgb */ color: rgb(42, 106, 181);
/* oklch */ color: oklch(52.2% 0.135 254.6);
Tailwind
colors: {
  custom: {
    50: '#7894cb',
    500: '#2a6ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab5;
$custom-light: #7894cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab5",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 181
  },
  "hsl": {
    "h": 212.374,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.13501,
    "h": 254.6
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#2A6AB5
secondary
#C8A173
accent
#9A42E5
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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