#2A6BB2#2A6BB2

#2A6BB2 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.3% C 0.130 H 253.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB2
RGBrgb(42, 107, 178)
HSLhsl(211, 62%, 43%)
HSVhsv(211, 76%, 70%)
CMYKcmyk(76.4%, 39.9%, 0%, 30.2%)
CIE-LABlab(44.55, 4.61, -43.59)
CIE-LCHlch(44.55, 43.83, 276.04°)
OKLaboklab(52.27% -0.0374 -0.1244)
OKLCHoklch(52.27% 0.13 253.3)
XYZxyz(14.2454, 14.2203, 44.1049)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB2 #B2712A
analogous
#2AAFB2 #2A6BB2 #2D2AB2
triadic
#2A6BB2 #B22A6B #6BB22A
tetradic
#2A6BB2 #B22AAF #B2712A #2AB22D
square
#2A6BB2 #B22AAF #B2712A #2AB22D
split-complementary
#2A6BB2 #B22D2A #AFB22A
monochromatic
#132F4F #1E4D80 #2A6BB2 #4689D3 #77A9DF

Accessibility & contrast

On white

5.46
#2A6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2A6BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB2#FFFFFF#000000##FFFFFF
##2A6BB21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6bb2;
/* rgb */ color: rgb(42, 107, 178);
/* oklch */ color: oklch(52.3% 0.130 253.3);
Tailwind
colors: {
  custom: {
    50: '#7794c9',
    500: '#2a6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb2;
$custom-light: #7794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb2",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 211.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.12995,
    "h": 253.3
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#2A6BB2
secondary
#C79E71
accent
#9743E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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