#2A6CB8#2A6CB8

#2A6CB8 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.137 H 254.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2A6CB8
RGBrgb(42, 108, 184)
HSLhsl(212, 63%, 44%)
HSVhsv(212, 77%, 72%)
CMYKcmyk(77.2%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.19, 6.26, -46.06)
CIE-LCHlch(45.19, 46.49, 277.74°)
OKLaboklab(52.88% -0.0369 -0.1317)
OKLCHoklch(52.88% 0.137 254.3)
XYZxyz(14.9659, 14.6763, 47.3822)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6CB8 #B8762A
analogous
#2AB3B8 #2A6CB8 #2F2AB8
triadic
#2A6CB8 #B82A6C #6CB82A
tetradic
#2A6CB8 #B82AB3 #B8762A #2AB82F
square
#2A6CB8 #B82AB3 #B8762A #2AB82F
split-complementary
#2A6CB8 #B82F2A #B3B82A
monochromatic
#133254 #1F4F86 #2A6CB8 #4A8BD6 #7BABE1

Accessibility & contrast

On white

5.34
#2A6CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2A6CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6CB8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6CB8#FFFFFF#000000##FFFFFF
##2A6CB81.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BB
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6cb8;
/* rgb */ color: rgb(42, 108, 184);
/* oklch */ color: oklch(52.9% 0.137 254.3);
Tailwind
colors: {
  custom: {
    50: '#7895ce',
    500: '#2a6cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6cb8;
$custom-light: #7895ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6cb8",
  "rgb": {
    "r": 42,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 212.113,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.13677,
    "h": 254.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#2A6CB8
secondary
#C9A275
accent
#9A42E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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