#2A6FA6#2A6FA6

#2A6FA6 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.5% C 0.111 H 246.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA6
RGBrgb(42, 111, 166)
HSLhsl(207, 60%, 41%)
HSVhsv(207, 75%, 65%)
CMYKcmyk(74.7%, 33.1%, 0%, 34.9%)
CIE-LABlab(45.10, -2.36, -35.69)
CIE-LCHlch(45.10, 35.76, 266.22°)
OKLaboklab(52.49% -0.0444 -0.1012)
OKLCHoklch(52.49% 0.111 246.3)
XYZxyz(13.5196, 14.6127, 38.1770)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA6 #A6612A
analogous
#2AA69F #2A6FA6 #2A31A6
triadic
#2A6FA6 #A62A6F #6FA62A
tetradic
#2A6FA6 #9F2AA6 #A6612A #31A62A
square
#2A6FA6 #9F2AA6 #A6612A #31A62A
split-complementary
#2A6FA6 #A62A31 #A69F2A
monochromatic
#112E44 #1E4E75 #2A6FA6 #3F8FCE #70ABDB

Accessibility & contrast

On white

5.35
#2A6FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2A6FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FA6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA6#FFFFFF#000000##FFFFFF
##2A6FA61.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6fa6;
/* rgb */ color: rgb(42, 111, 166);
/* oklch */ color: oklch(52.5% 0.111 246.3);
Tailwind
colors: {
  custom: {
    50: '#7598c0',
    500: '#2a6fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa6;
$custom-light: #7598c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa6",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 206.613,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.11056,
    "h": 246.3
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#2A6FA6
secondary
#C2916A
accent
#8B45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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