#2A6BAD#2A6BAD

#2A6BAD is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.123 H 251.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A6BAD
RGBrgb(42, 107, 173)
HSLhsl(210, 61%, 42%)
HSVhsv(210, 76%, 68%)
CMYKcmyk(75.7%, 38.2%, 0%, 32.2%)
CIE-LABlab(44.27, 2.73, -41.11)
CIE-LCHlch(44.27, 41.20, 273.79°)
OKLaboklab(51.96% -0.0387 -0.1172)
OKLCHoklch(51.96% 0.123 251.7)
XYZxyz(13.7525, 14.0232, 41.5090)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6BAD #AD6C2A
analogous
#2AADAD #2A6BAD #2B2AAD
triadic
#2A6BAD #AD2A6B #6BAD2A
tetradic
#2A6BAD #AD2AAD #AD6C2A #2AAD2B
square
#2A6BAD #AD2AAD #AD6C2A #2AAD2B
split-complementary
#2A6BAD #AD2B2A #ADAD2A
monochromatic
#122E4B #1E4D7C #2A6BAD #438AD1 #74A8DD

Accessibility & contrast

On white

5.52
#2A6BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2A6BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6BAD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6BAD#FFFFFF#000000##FFFFFF
##2A6BAD1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a6bad;
/* rgb */ color: rgb(42, 107, 173);
/* oklch */ color: oklch(52.0% 0.123 251.7);
Tailwind
colors: {
  custom: {
    50: '#7694c6',
    500: '#2a6bad',
    950: '#000000',
  },
}
SCSS
$custom: #2a6bad;
$custom-light: #7694c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6bad",
  "rgb": {
    "r": 42,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 210.229,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.12339,
    "h": 251.7
  },
  "luminance": 0.14025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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