#2A6FC4#2A6FC4

#2A6FC4 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.3% C 0.149 H 255.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A6FC4
RGBrgb(42, 111, 196)
HSLhsl(213, 65%, 47%)
HSVhsv(213, 79%, 77%)
CMYKcmyk(78.6%, 43.4%, 0%, 23.1%)
CIE-LABlab(46.77, 8.92, -50.47)
CIE-LCHlch(46.77, 51.26, 280.02°)
OKLaboklab(54.34% -0.0369 -0.1446)
OKLCHoklch(54.34% 0.149 255.7)
XYZxyz(16.5994, 15.8447, 54.3973)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FC4 #C47F2A
analogous
#2ABCC4 #2A6FC4 #322AC4
triadic
#2A6FC4 #C42A6F #6FC42A
tetradic
#2A6FC4 #C42ABC #C47F2A #2AC432
square
#2A6FC4 #C42ABC #C47F2A #2AC432
split-complementary
#2A6FC4 #C4322A #BCC42A
monochromatic
#14365F #1F5292 #2A6FC4 #518FDA #84AFE5

Accessibility & contrast

On white

5.04
#2A6FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2A6FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FC4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FC4#FFFFFF#000000##FFFFFF
##2A6FC41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C7
Deuteranopia (green-blind)
#2668C2
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a6fc4;
/* rgb */ color: rgb(42, 111, 196);
/* oklch */ color: oklch(54.3% 0.149 255.7);
Tailwind
colors: {
  custom: {
    50: '#7b97d6',
    500: '#2a6fc4',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fc4;
$custom-light: #7b97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fc4",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 213.117,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.14923,
    "h": 255.7
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#2A6FC4
secondary
#CEA97C
accent
#9D40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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