#2A6EAD#2A6EAD

#2A6EAD is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.7% C 0.120 H 249.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2A6EAD
RGBrgb(42, 110, 173)
HSLhsl(209, 61%, 42%)
HSVhsv(209, 76%, 68%)
CMYKcmyk(75.7%, 36.4%, 0%, 32.2%)
CIE-LABlab(45.16, 0.86, -39.69)
CIE-LCHlch(45.16, 39.70, 271.24°)
OKLaboklab(52.66% -0.0415 -0.1129)
OKLCHoklch(52.66% 0.12 249.8)
XYZxyz(14.0707, 14.6596, 41.6151)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6EAD #AD692A
analogous
#2AADAB #2A6EAD #2A2DAD
triadic
#2A6EAD #AD2A6E #6EAD2A
tetradic
#2A6EAD #AB2AAD #AD692A #2DAD2A
square
#2A6EAD #AB2AAD #AD692A #2DAD2A
split-complementary
#2A6EAD #AD2A2D #ADAB2A
monochromatic
#122F4B #1E4F7C #2A6EAD #438DD1 #74ABDD

Accessibility & contrast

On white

5.34
#2A6EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2A6EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6EAD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6EAD#FFFFFF#000000##FFFFFF
##2A6EAD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B0
Deuteranopia (green-blind)
#3E65AC
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a6ead;
/* rgb */ color: rgb(42, 110, 173);
/* oklch */ color: oklch(52.7% 0.120 249.8);
Tailwind
colors: {
  custom: {
    50: '#7697c6',
    500: '#2a6ead',
    950: '#000000',
  },
}
SCSS
$custom: #2a6ead;
$custom-light: #7697c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6ead",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 173
  },
  "hsl": {
    "h": 208.855,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.12033,
    "h": 249.8
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#2A6EAD
secondary
#C5986E
accent
#9144E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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