#2A6AAD#2A6AAD

#2A6AAD is a mid, vivid cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.124 H 252.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2A6AAD
RGBrgb(42, 106, 173)
HSLhsl(211, 61%, 42%)
HSVhsv(211, 76%, 68%)
CMYKcmyk(75.7%, 38.7%, 0%, 32.2%)
CIE-LABlab(43.97, 3.35, -41.59)
CIE-LCHlch(43.97, 41.72, 274.61°)
OKLaboklab(51.73% -0.0377 -0.1186)
OKLCHoklch(51.73% 0.124 252.3)
XYZxyz(13.6489, 13.8159, 41.4745)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6AAD #AD6D2A
analogous
#2AACAD #2A6AAD #2C2AAD
triadic
#2A6AAD #AD2A6A #6AAD2A
tetradic
#2A6AAD #AD2AAC #AD6D2A #2AAD2C
square
#2A6AAD #AD2AAC #AD6D2A #2AAD2C
split-complementary
#2A6AAD #AD2C2A #ACAD2A
monochromatic
#122E4B #1E4C7C #2A6AAD #4388D1 #74A7DD

Accessibility & contrast

On white

5.58
#2A6AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2A6AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6AAD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6AAD#FFFFFF#000000##FFFFFF
##2A6AAD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EB0
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a6aad;
/* rgb */ color: rgb(42, 106, 173);
/* oklch */ color: oklch(51.7% 0.124 252.3);
Tailwind
colors: {
  custom: {
    50: '#7694c6',
    500: '#2a6aad',
    950: '#000000',
  },
}
SCSS
$custom: #2a6aad;
$custom-light: #7694c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6aad",
  "rgb": {
    "r": 42,
    "g": 106,
    "b": 173
  },
  "hsl": {
    "h": 210.687,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.12444,
    "h": 252.3
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#2A6AAD
secondary
#C59A6E
accent
#9644E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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