#2A6EB2#2A6EB2

#2A6EB2 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.0% C 0.127 H 251.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB2
RGBrgb(42, 110, 178)
HSLhsl(210, 62%, 43%)
HSVhsv(210, 76%, 70%)
CMYKcmyk(76.4%, 38.2%, 0%, 30.2%)
CIE-LABlab(45.44, 2.74, -42.17)
CIE-LCHlch(45.44, 42.26, 273.72°)
OKLaboklab(52.97% -0.0402 -0.1202)
OKLCHoklch(52.97% 0.127 251.5)
XYZxyz(14.5636, 14.8568, 44.2109)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB2 #B26E2A
analogous
#2AB2B2 #2A6EB2 #2A2AB2
triadic
#2A6EB2 #B22A6E #6EB22A
tetradic
#2A6EB2 #B22AB2 #B26E2A #2AB22A
square
#2A6EB2 #B22AB2 #B26E2A #2AB22A
split-complementary
#2A6EB2 #B22A2A #B2B22A
monochromatic
#13314F #1E4F80 #2A6EB2 #468DD3 #77ABDF

Accessibility & contrast

On white

5.29
#2A6EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2A6EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB2#FFFFFF#000000##FFFFFF
##2A6EB21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6eb2;
/* rgb */ color: rgb(42, 110, 178);
/* oklch */ color: oklch(53.0% 0.127 251.5);
Tailwind
colors: {
  custom: {
    50: '#7797c9',
    500: '#2a6eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb2;
$custom-light: #7797c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb2",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 210,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.12676,
    "h": 251.5
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#2A6EB2
secondary
#C79C71
accent
#9443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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