#2A6FBF#2A6FBF

#2A6FBF is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.0% C 0.143 H 254.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A6FBF
RGBrgb(42, 111, 191)
HSLhsl(212, 64%, 46%)
HSVhsv(212, 78%, 75%)
CMYKcmyk(78%, 41.9%, 0%, 25.1%)
CIE-LABlab(46.47, 7.03, -48.07)
CIE-LCHlch(46.47, 48.58, 278.32°)
OKLaboklab(54.02% -0.038 -0.1375)
OKLCHoklch(54.02% 0.143 254.6)
XYZxyz(16.0397, 15.6208, 51.4499)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FBF #BF7A2A
analogous
#2AB9BF #2A6FBF #302ABF
triadic
#2A6FBF #BF2A6F #6FBF2A
tetradic
#2A6FBF #BF2AB9 #BF7A2A #2ABF30
square
#2A6FBF #BF2AB9 #BF7A2A #2ABF30
split-complementary
#2A6FBF #BF302A #B9BF2A
monochromatic
#14355B #1F528D #2A6FBF #4E8ED8 #80AEE3

Accessibility & contrast

On white

5.09
#2A6FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2A6FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FBF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FBF#FFFFFF#000000##FFFFFF
##2A6FBF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a6fbf;
/* rgb */ color: rgb(42, 111, 191);
/* oklch */ color: oklch(54.0% 0.143 254.6);
Tailwind
colors: {
  custom: {
    50: '#7a97d3',
    500: '#2a6fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fbf;
$custom-light: #7a97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fbf",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 212.215,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.14266,
    "h": 254.6
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#2A6FBF
secondary
#CCA579
accent
#9A41E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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