#2A6FB8#2A6FB8

#2A6FB8 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.134 H 252.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A6FB8
RGBrgb(42, 111, 184)
HSLhsl(211, 63%, 44%)
HSVhsv(211, 77%, 72%)
CMYKcmyk(77.2%, 39.7%, 0%, 27.8%)
CIE-LABlab(46.07, 4.38, -44.66)
CIE-LCHlch(46.07, 44.87, 275.60°)
OKLaboklab(53.57% -0.0396 -0.1275)
OKLCHoklch(53.57% 0.134 252.8)
XYZxyz(15.2878, 15.3200, 47.4894)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FB8 #B8732A
analogous
#2AB6B8 #2A6FB8 #2C2AB8
triadic
#2A6FB8 #B82A6F #6FB82A
tetradic
#2A6FB8 #B82AB6 #B8732A #2AB82C
square
#2A6FB8 #B82AB6 #B8732A #2AB82C
split-complementary
#2A6FB8 #B82C2A #B6B82A
monochromatic
#133354 #1F5186 #2A6FB8 #4A8ED6 #7BADE1

Accessibility & contrast

On white

5.17
#2A6FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6FB8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FB8#FFFFFF#000000##FFFFFF
##2A6FB81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6fb8;
/* rgb */ color: rgb(42, 111, 184);
/* oklch */ color: oklch(53.6% 0.134 252.8);
Tailwind
colors: {
  custom: {
    50: '#7897ce',
    500: '#2a6fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fb8;
$custom-light: #7897ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fb8",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 184
  },
  "hsl": {
    "h": 210.845,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.1335,
    "h": 252.8
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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