#2A6AAB#2A6AAB

#2A6AAB is a mid, vivid cyan. Relative luminance 0.137; OKLCH L 51.6% C 0.122 H 251.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2A6AAB
RGBrgb(42, 106, 171)
HSLhsl(210, 61%, 42%)
HSVhsv(210, 75%, 67%)
CMYKcmyk(75.4%, 38%, 0%, 32.9%)
CIE-LABlab(43.86, 2.60, -40.59)
CIE-LCHlch(43.86, 40.67, 273.66°)
OKLaboklab(51.6% -0.0382 -0.1157)
OKLCHoklch(51.6% 0.122 251.7)
XYZxyz(13.4568, 13.7390, 40.4629)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AAB #AB6B2A
analogous
#2AAAAB #2A6AAB #2B2AAB
triadic
#2A6AAB #AB2A6A #6AAB2A
tetradic
#2A6AAB #AB2AAA #AB6B2A #2AAB2B
square
#2A6AAB #AB2AAA #AB6B2A #2AAB2B
split-complementary
#2A6AAB #AB2B2A #AAAB2A
monochromatic
#122D49 #1E4C7A #2A6AAB #4289D1 #73A7DD

Accessibility & contrast

On white

5.60
#2A6AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2A6AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AAB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AAB#FFFFFF#000000##FFFFFF
##2A6AAB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAE
Deuteranopia (green-blind)
#3862AA
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6aab;
/* rgb */ color: rgb(42, 106, 171);
/* oklch */ color: oklch(51.6% 0.122 251.7);
Tailwind
colors: {
  custom: {
    50: '#7594c4',
    500: '#2a6aab',
    950: '#000000',
  },
}
SCSS
$custom: #2a6aab;
$custom-light: #7594c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6aab",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 171
  },
  "hsl": {
    "h": 210.233,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.12182,
    "h": 251.7
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#2A6AAB
secondary
#C4996D
accent
#9544E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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