#2A6AAC#2A6AAC

#2A6AAC is a mid, vivid cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.123 H 252.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2A6AAC
RGBrgb(42, 106, 172)
HSLhsl(210, 61%, 42%)
HSVhsv(210, 76%, 67%)
CMYKcmyk(75.6%, 38.4%, 0%, 32.5%)
CIE-LABlab(43.91, 2.97, -41.09)
CIE-LCHlch(43.91, 41.20, 274.14°)
OKLaboklab(51.67% -0.038 -0.1171)
OKLCHoklch(51.67% 0.123 252)
XYZxyz(13.5525, 13.7773, 40.9668)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AAC #AC6C2A
analogous
#2AABAC #2A6AAC #2B2AAC
triadic
#2A6AAC #AC2A6A #6AAC2A
tetradic
#2A6AAC #AC2AAB #AC6C2A #2AAC2B
square
#2A6AAC #AC2AAB #AC6C2A #2AAC2B
split-complementary
#2A6AAC #AC2B2A #ABAC2A
monochromatic
#122D4A #1E4C7B #2A6AAC #4289D1 #73A7DD

Accessibility & contrast

On white

5.59
#2A6AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2A6AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AAC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AAC#FFFFFF#000000##FFFFFF
##2A6AAC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAF
Deuteranopia (green-blind)
#3762AB
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6aac;
/* rgb */ color: rgb(42, 106, 172);
/* oklch */ color: oklch(51.7% 0.123 252.0);
Tailwind
colors: {
  custom: {
    50: '#7694c5',
    500: '#2a6aac',
    950: '#000000',
  },
}
SCSS
$custom: #2a6aac;
$custom-light: #7694c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6aac",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 172
  },
  "hsl": {
    "h": 210.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.12313,
    "h": 252
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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