#2A6FA8#2A6FA8

#2A6FA8 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.113 H 247.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA8
RGBrgb(42, 111, 168)
HSLhsl(207, 60%, 41%)
HSVhsv(207, 75%, 66%)
CMYKcmyk(75%, 33.9%, 0%, 34.1%)
CIE-LABlab(45.20, -1.61, -36.70)
CIE-LCHlch(45.20, 36.73, 267.48°)
OKLaboklab(52.61% -0.0438 -0.1042)
OKLCHoklch(52.61% 0.113 247.2)
XYZxyz(13.7045, 14.6867, 39.1507)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA8 #A8632A
analogous
#2AA8A2 #2A6FA8 #2A30A8
triadic
#2A6FA8 #A82A6F #6FA82A
tetradic
#2A6FA8 #A22AA8 #A8632A #30A82A
square
#2A6FA8 #A22AA8 #A8632A #30A82A
split-complementary
#2A6FA8 #A82A30 #A8A22A
monochromatic
#122E46 #1E4F77 #2A6FA8 #408ECF #71ABDB

Accessibility & contrast

On white

5.33
#2A6FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A6FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FA8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA8#FFFFFF#000000##FFFFFF
##2A6FA81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6fa8;
/* rgb */ color: rgb(42, 111, 168);
/* oklch */ color: oklch(52.6% 0.113 247.2);
Tailwind
colors: {
  custom: {
    50: '#7598c2',
    500: '#2a6fa8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa8;
$custom-light: #7598c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa8",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 207.143,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.11305,
    "h": 247.2
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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