#2A6FA5#2A6FA5

#2A6FA5 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.4% C 0.109 H 245.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A6FA5
RGBrgb(42, 111, 165)
HSLhsl(206, 59%, 41%)
HSVhsv(206, 75%, 65%)
CMYKcmyk(74.5%, 32.7%, 0%, 35.3%)
CIE-LABlab(45.05, -2.73, -35.18)
CIE-LCHlch(45.05, 35.28, 265.57°)
OKLaboklab(52.44% -0.0447 -0.0998)
OKLCHoklch(52.44% 0.109 245.8)
XYZxyz(13.4282, 14.5762, 37.6958)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FA5 #A5602A
analogous
#2AA59D #2A6FA5 #2A32A5
triadic
#2A6FA5 #A52A6F #6FA52A
tetradic
#2A6FA5 #9D2AA5 #A5602A #32A52A
square
#2A6FA5 #9D2AA5 #A5602A #32A52A
split-complementary
#2A6FA5 #A52A32 #A59D2A
monochromatic
#112D43 #1E4E74 #2A6FA5 #3E8FCE #6FABDA

Accessibility & contrast

On white

5.36
#2A6FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6FA5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FA5#FFFFFF#000000##FFFFFF
##2A6FA51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#4565A4
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6fa5;
/* rgb */ color: rgb(42, 111, 165);
/* oklch */ color: oklch(52.4% 0.109 245.8);
Tailwind
colors: {
  custom: {
    50: '#7498c0',
    500: '#2a6fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fa5;
$custom-light: #7498c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fa5",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 206.341,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.10933,
    "h": 245.8
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#2A6FA5
secondary
#C19069
accent
#8A45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2A6FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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