#2A6EB9#2A6EB9

#2A6EB9 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.136 H 253.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A6EB9
RGBrgb(42, 110, 185)
HSLhsl(211, 63%, 45%)
HSVhsv(211, 77%, 73%)
CMYKcmyk(77.3%, 40.5%, 0%, 27.5%)
CIE-LABlab(45.83, 5.38, -45.62)
CIE-LCHlch(45.83, 45.93, 276.73°)
OKLaboklab(53.4% -0.0385 -0.1303)
OKLCHoklch(53.4% 0.136 253.6)
XYZxyz(15.2845, 15.1451, 48.0073)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EB9 #B9752A
analogous
#2AB6B9 #2A6EB9 #2E2AB9
triadic
#2A6EB9 #B92A6E #6EB92A
tetradic
#2A6EB9 #B92AB6 #B9752A #2AB92E
square
#2A6EB9 #B92AB6 #B9752A #2AB92E
split-complementary
#2A6EB9 #B92E2A #B6B92A
monochromatic
#133355 #1F5087 #2A6EB9 #4A8DD6 #7CACE1

Accessibility & contrast

On white

5.21
#2A6EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A6EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EB9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EB9#FFFFFF#000000##FFFFFF
##2A6EB91.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a6eb9;
/* rgb */ color: rgb(42, 110, 185);
/* oklch */ color: oklch(53.4% 0.136 253.6);
Tailwind
colors: {
  custom: {
    50: '#7897ce',
    500: '#2a6eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2a6eb9;
$custom-light: #7897ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6eb9",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 211.469,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.13589,
    "h": 253.6
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#2A6EB9
secondary
#CAA175
accent
#9842E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A6EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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