#2A6FA7#2A6FA7

#2A6FA7 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.112 H 246.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA7
RGBrgb(42, 111, 167)
HSLhsl(207, 60%, 41%)
HSVhsv(207, 75%, 65%)
CMYKcmyk(74.9%, 33.5%, 0%, 34.5%)
CIE-LABlab(45.15, -1.99, -36.19)
CIE-LCHlch(45.15, 36.25, 266.86°)
OKLaboklab(52.55% -0.0441 -0.1027)
OKLCHoklch(52.55% 0.112 246.8)
XYZxyz(13.6117, 14.6496, 38.6620)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA7 #A7622A
analogous
#2AA7A0 #2A6FA7 #2A30A7
triadic
#2A6FA7 #A72A6F #6FA72A
tetradic
#2A6FA7 #A02AA7 #A7622A #30A72A
square
#2A6FA7 #A02AA7 #A7622A #30A72A
split-complementary
#2A6FA7 #A72A30 #A7A02A
monochromatic
#112E45 #1E4E76 #2A6FA7 #3F8FCF #70ABDB

Accessibility & contrast

On white

5.34
#2A6FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2A6FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FA7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA7#FFFFFF#000000##FFFFFF
##2A6FA71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6fa7;
/* rgb */ color: rgb(42, 111, 167);
/* oklch */ color: oklch(52.5% 0.112 246.8);
Tailwind
colors: {
  custom: {
    50: '#7598c1',
    500: '#2a6fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa7;
$custom-light: #7598c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa7",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 206.88,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.1118,
    "h": 246.8
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#2A6FA7
secondary
#C2926B
accent
#8C45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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