#2A6BA6#2A6BA6

#2A6BA6 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.5% C 0.114 H 249.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2A6BA6
RGBrgb(42, 107, 166)
HSLhsl(209, 60%, 41%)
HSVhsv(209, 75%, 65%)
CMYKcmyk(74.7%, 35.5%, 0%, 34.9%)
CIE-LABlab(43.89, 0.10, -37.60)
CIE-LCHlch(43.89, 37.60, 270.15°)
OKLaboklab(51.54% -0.0405 -0.1069)
OKLCHoklch(51.54% 0.114 249.2)
XYZxyz(13.0929, 13.7593, 38.0348)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BA6 #A6652A
analogous
#2AA6A3 #2A6BA6 #2A2DA6
triadic
#2A6BA6 #A62A6B #6BA62A
tetradic
#2A6BA6 #A32AA6 #A6652A #2DA62A
square
#2A6BA6 #A32AA6 #A6652A #2DA62A
split-complementary
#2A6BA6 #A62A2D #A6A32A
monochromatic
#112C44 #1E4C75 #2A6BA6 #3F8ACE #70A8DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6BA6#FFFFFF#000000##FFFFFF
##2A6BA61.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)
#506EA8
Deuteranopia (green-blind)
#3E62A5
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6ba6;
/* rgb */ color: rgb(42, 107, 166);
/* oklch */ color: oklch(51.5% 0.114 249.2);
Tailwind
colors: {
  custom: {
    50: '#7495c1',
    500: '#2a6ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ba6;
$custom-light: #7495c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ba6",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 166
  },
  "hsl": {
    "h": 208.548,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.11433,
    "h": 249.2
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#2A6BA6
secondary
#C2946A
accent
#9045E3
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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