#2A6CB2#2A6CB2

#2A6CB2 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.129 H 252.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB2
RGBrgb(42, 108, 178)
HSLhsl(211, 62%, 43%)
HSVhsv(211, 76%, 70%)
CMYKcmyk(76.4%, 39.3%, 0%, 30.2%)
CIE-LABlab(44.84, 3.99, -43.12)
CIE-LCHlch(44.84, 43.30, 275.28°)
OKLaboklab(52.5% -0.0383 -0.123)
OKLCHoklch(52.5% 0.129 252.7)
XYZxyz(14.3503, 14.4301, 44.1398)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB2 #B2702A
analogous
#2AB0B2 #2A6CB2 #2C2AB2
triadic
#2A6CB2 #B22A6C #6CB22A
tetradic
#2A6CB2 #B22AB0 #B2702A #2AB22C
square
#2A6CB2 #B22AB0 #B2702A #2AB22C
split-complementary
#2A6CB2 #B22C2A #B0B22A
monochromatic
#13304F #1E4E80 #2A6CB2 #468BD3 #77AADF

Accessibility & contrast

On white

5.40
#2A6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2A6CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB2#FFFFFF#000000##FFFFFF
##2A6CB21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#007D86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6cb2;
/* rgb */ color: rgb(42, 108, 178);
/* oklch */ color: oklch(52.5% 0.129 252.7);
Tailwind
colors: {
  custom: {
    50: '#7795c9',
    500: '#2a6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb2;
$custom-light: #7795c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb2",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 210.882,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.12888,
    "h": 252.7
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#2A6CB2
secondary
#C79D71
accent
#9643E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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