#2A6AB8#2A6AB8

#2A6AB8 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.139 H 255.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB8
RGBrgb(42, 106, 184)
HSLhsl(213, 63%, 44%)
HSVhsv(213, 77%, 72%)
CMYKcmyk(77.2%, 42.4%, 0%, 27.8%)
CIE-LABlab(44.60, 7.52, -47.00)
CIE-LCHlch(44.60, 47.60, 279.09°)
OKLaboklab(52.43% -0.0352 -0.1345)
OKLCHoklch(52.43% 0.139 255.3)
XYZxyz(14.7574, 14.2593, 47.3127)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB8 #B8782A
analogous
#2AB1B8 #2A6AB8 #312AB8
triadic
#2A6AB8 #B82A6A #6AB82A
tetradic
#2A6AB8 #B82AB1 #B8782A #2AB831
square
#2A6AB8 #B82AB1 #B8782A #2AB831
split-complementary
#2A6AB8 #B8312A #B1B82A
monochromatic
#133154 #1F4D86 #2A6AB8 #4A89D6 #7BA9E1

Accessibility & contrast

On white

5.45
#2A6AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A6AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AB8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB8#FFFFFF#000000##FFFFFF
##2A6AB81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470BB
Deuteranopia (green-blind)
#2A64B6
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6ab8;
/* rgb */ color: rgb(42, 106, 184);
/* oklch */ color: oklch(52.4% 0.139 255.3);
Tailwind
colors: {
  custom: {
    50: '#7894ce',
    500: '#2a6ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab8;
$custom-light: #7894ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab8",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 184
  },
  "hsl": {
    "h": 212.958,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.139,
    "h": 255.3
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#2A6AB8
secondary
#C9A375
accent
#9C42E6
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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