#2A6AB9#2A6AB9

#2A6AB9 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.5% C 0.140 H 255.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A6AB9
RGBrgb(42, 106, 185)
HSLhsl(213, 63%, 45%)
HSVhsv(213, 77%, 73%)
CMYKcmyk(77.3%, 42.7%, 0%, 27.5%)
CIE-LABlab(44.66, 7.90, -47.48)
CIE-LCHlch(44.66, 48.14, 279.45°)
OKLaboklab(52.49% -0.035 -0.1359)
OKLCHoklch(52.49% 0.14 255.6)
XYZxyz(14.8626, 14.3014, 47.8667)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AB9 #B9792A
analogous
#2AB2B9 #2A6AB9 #322AB9
triadic
#2A6AB9 #B92A6A #6AB92A
tetradic
#2A6AB9 #B92AB2 #B9792A #2AB932
square
#2A6AB9 #B92AB2 #B9792A #2AB932
split-complementary
#2A6AB9 #B9322A #B2B92A
monochromatic
#133155 #1F4D87 #2A6AB9 #4A89D6 #7CA9E1

Accessibility & contrast

On white

5.44
#2A6AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2A6AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AB9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AB9#FFFFFF#000000##FFFFFF
##2A6AB91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BC
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a6ab9;
/* rgb */ color: rgb(42, 106, 185);
/* oklch */ color: oklch(52.5% 0.140 255.6);
Tailwind
colors: {
  custom: {
    50: '#7894ce',
    500: '#2a6ab9',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ab9;
$custom-light: #7894ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ab9",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 185
  },
  "hsl": {
    "h": 213.147,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.14033,
    "h": 255.6
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#2A6AB9
secondary
#CAA475
accent
#9D42E6
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A6AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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