#2A6AB2#2A6AB2

#2A6AB2 is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.131 H 253.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB2
RGBrgb(42, 106, 178)
HSLhsl(212, 62%, 43%)
HSVhsv(212, 76%, 70%)
CMYKcmyk(76.4%, 40.4%, 0%, 30.2%)
CIE-LABlab(44.25, 5.24, -44.06)
CIE-LCHlch(44.25, 44.37, 276.78°)
OKLaboklab(52.04% -0.0365 -0.1258)
OKLCHoklch(52.04% 0.131 253.8)
XYZxyz(14.1418, 14.0130, 44.0703)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB2 #B2722A
analogous
#2AAEB2 #2A6AB2 #2E2AB2
triadic
#2A6AB2 #B22A6A #6AB22A
tetradic
#2A6AB2 #B22AAE #B2722A #2AB22E
square
#2A6AB2 #B22AAE #B2722A #2AB22E
split-complementary
#2A6AB2 #B22E2A #AEB22A
monochromatic
#132F4F #1E4D80 #2A6AB2 #4688D3 #77A8DF

Accessibility & contrast

On white

5.52
#2A6AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2A6AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AB2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB2#FFFFFF#000000##FFFFFF
##2A6AB21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486FB5
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6ab2;
/* rgb */ color: rgb(42, 106, 178);
/* oklch */ color: oklch(52.0% 0.131 253.8);
Tailwind
colors: {
  custom: {
    50: '#7794c9',
    500: '#2a6ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab2;
$custom-light: #7794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab2",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 211.765,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.13103,
    "h": 253.8
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#2A6AB2
secondary
#C79E71
accent
#9943E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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