#2A6CBF#2A6CBF

#2A6CBF is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.3% C 0.146 H 256.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A6CBF
RGBrgb(42, 108, 191)
HSLhsl(213, 64%, 46%)
HSVhsv(213, 78%, 75%)
CMYKcmyk(78%, 43.5%, 0%, 25.1%)
CIE-LABlab(45.60, 8.92, -49.46)
CIE-LCHlch(45.60, 50.25, 280.22°)
OKLaboklab(53.34% -0.0354 -0.1417)
OKLCHoklch(53.34% 0.146 256)
XYZxyz(15.7179, 14.9771, 51.3426)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CBF #BF7D2A
analogous
#2AB6BF #2A6CBF #332ABF
triadic
#2A6CBF #BF2A6C #6CBF2A
tetradic
#2A6CBF #BF2AB6 #BF7D2A #2ABF33
square
#2A6CBF #BF2AB6 #BF7D2A #2ABF33
split-complementary
#2A6CBF #BF332A #B6BF2A
monochromatic
#14335B #1F508D #2A6CBF #4E8BD8 #80ACE3

Accessibility & contrast

On white

5.26
#2A6CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2A6CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CBF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CBF#FFFFFF#000000##FFFFFF
##2A6CBF1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6cbf;
/* rgb */ color: rgb(42, 108, 191);
/* oklch */ color: oklch(53.3% 0.146 256.0);
Tailwind
colors: {
  custom: {
    50: '#7a95d3',
    500: '#2a6cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cbf;
$custom-light: #7a95d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cbf",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 213.423,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.14602,
    "h": 256
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#2A6CBF
secondary
#CCA779
accent
#9D41E7
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2A6CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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