#2A6BB1#2A6BB1

#2A6BB1 is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.129 H 253.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A6BB1
RGBrgb(42, 107, 177)
HSLhsl(211, 62%, 43%)
HSVhsv(211, 76%, 69%)
CMYKcmyk(76.3%, 39.5%, 0%, 30.6%)
CIE-LABlab(44.49, 4.23, -43.10)
CIE-LCHlch(44.49, 43.30, 275.61°)
OKLaboklab(52.21% -0.0377 -0.123)
OKLCHoklch(52.21% 0.129 253)
XYZxyz(14.1454, 14.1803, 43.5780)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BB1 #B1702A
analogous
#2AAEB1 #2A6BB1 #2C2AB1
triadic
#2A6BB1 #B12A6B #6BB12A
tetradic
#2A6BB1 #B12AAE #B1702A #2AB12C
square
#2A6BB1 #B12AAE #B1702A #2AB12C
split-complementary
#2A6BB1 #B12C2A #AEB12A
monochromatic
#132F4E #1E4D80 #2A6BB1 #4589D3 #77A9DF

Accessibility & contrast

On white

5.47
#2A6BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6BB1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BB1#FFFFFF#000000##FFFFFF
##2A6BB11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#3464B0
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6bb1;
/* rgb */ color: rgb(42, 107, 177);
/* oklch */ color: oklch(52.2% 0.129 253.0);
Tailwind
colors: {
  custom: {
    50: '#7794c9',
    500: '#2a6bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bb1;
$custom-light: #7794c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bb1",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 211.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.12863,
    "h": 253
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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