#2A6FB7#2A6FB7

#2A6FB7 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.5% C 0.132 H 252.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB7
RGBrgb(42, 111, 183)
HSLhsl(211, 63%, 44%)
HSVhsv(211, 77%, 72%)
CMYKcmyk(77%, 39.3%, 0%, 28.2%)
CIE-LABlab(46.01, 4.00, -44.17)
CIE-LCHlch(46.01, 44.35, 275.18°)
OKLaboklab(53.51% -0.0398 -0.1261)
OKLCHoklch(53.51% 0.132 252.5)
XYZxyz(15.1833, 15.2782, 46.9393)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB7 #B7722A
analogous
#2AB6B7 #2A6FB7 #2B2AB7
triadic
#2A6FB7 #B72A6F #6FB72A
tetradic
#2A6FB7 #B72AB6 #B7722A #2AB72B
square
#2A6FB7 #B72AB6 #B7722A #2AB72B
split-complementary
#2A6FB7 #B72B2A #B6B72A
monochromatic
#133353 #1F5185 #2A6FB7 #498ED5 #7BADE1

Accessibility & contrast

On white

5.18
#2A6FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A6FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FB7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB7#FFFFFF#000000##FFFFFF
##2A6FB71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3667B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6fb7;
/* rgb */ color: rgb(42, 111, 183);
/* oklch */ color: oklch(53.5% 0.132 252.5);
Tailwind
colors: {
  custom: {
    50: '#7897cd',
    500: '#2a6fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb7;
$custom-light: #7897cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb7",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 210.638,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53508,
    "c": 0.1322,
    "h": 252.5
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#2A6FB7
secondary
#C99F74
accent
#9642E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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