#2A6DB9#2A6DB9

#2A6DB9 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.137 H 254.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A6DB9
RGBrgb(42, 109, 185)
HSLhsl(212, 63%, 45%)
HSVhsv(212, 77%, 73%)
CMYKcmyk(77.3%, 41.1%, 0%, 27.5%)
CIE-LABlab(45.54, 6.01, -46.08)
CIE-LCHlch(45.54, 46.47, 277.43°)
OKLaboklab(53.18% -0.0376 -0.1317)
OKLCHoklch(53.18% 0.137 254.1)
XYZxyz(15.1772, 14.9305, 47.9715)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6DB9 #B9762A
analogous
#2AB5B9 #2A6DB9 #2E2AB9
triadic
#2A6DB9 #B92A6D #6DB92A
tetradic
#2A6DB9 #B92AB5 #B9762A #2AB92E
square
#2A6DB9 #B92AB5 #B9762A #2AB92E
split-complementary
#2A6DB9 #B92E2A #B5B92A
monochromatic
#133255 #1F5087 #2A6DB9 #4A8CD6 #7CACE1

Accessibility & contrast

On white

5.27
#2A6DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A6DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6DB9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6DB9#FFFFFF#000000##FFFFFF
##2A6DB91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BC
Deuteranopia (green-blind)
#3066B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6db9;
/* rgb */ color: rgb(42, 109, 185);
/* oklch */ color: oklch(53.2% 0.137 254.1);
Tailwind
colors: {
  custom: {
    50: '#7896ce',
    500: '#2a6db9',
    950: '#000000',
  },
}
SCSS
$custom: #2a6db9;
$custom-light: #7896ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6db9",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 185
  },
  "hsl": {
    "h": 211.888,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.13699,
    "h": 254.1
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#2A6DB9
secondary
#CAA275
accent
#9942E6
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2A6DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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