#2A6AB1#2A6AB1

#2A6AB1 is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.130 H 253.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB1
RGBrgb(42, 106, 177)
HSLhsl(212, 62%, 43%)
HSVhsv(212, 76%, 69%)
CMYKcmyk(76.3%, 40.1%, 0%, 30.6%)
CIE-LABlab(44.19, 4.86, -43.57)
CIE-LCHlch(44.19, 43.84, 276.37°)
OKLaboklab(51.98% -0.0368 -0.1244)
OKLCHoklch(51.98% 0.13 253.5)
XYZxyz(14.0417, 13.9730, 43.5435)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB1 #B1712A
analogous
#2AADB1 #2A6AB1 #2E2AB1
triadic
#2A6AB1 #B12A6A #6AB12A
tetradic
#2A6AB1 #B12AAD #B1712A #2AB12E
square
#2A6AB1 #B12AAD #B1712A #2AB12E
split-complementary
#2A6AB1 #B12E2A #ADB12A
monochromatic
#132F4E #1E4C80 #2A6AB1 #4588D3 #77A8DF

Accessibility & contrast

On white

5.53
#2A6AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2A6AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AB1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB1#FFFFFF#000000##FFFFFF
##2A6AB11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486FB4
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6ab1;
/* rgb */ color: rgb(42, 106, 177);
/* oklch */ color: oklch(52.0% 0.130 253.5);
Tailwind
colors: {
  custom: {
    50: '#7794c9',
    500: '#2a6ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab1;
$custom-light: #7794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab1",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 177
  },
  "hsl": {
    "h": 211.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.12971,
    "h": 253.5
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#2A6AB1
secondary
#C69E70
accent
#9843E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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