#2A6FAD#2A6FAD

#2A6FAD is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.9% C 0.119 H 249.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6FAD
RGBrgb(42, 111, 173)
HSLhsl(208, 61%, 42%)
HSVhsv(208, 76%, 68%)
CMYKcmyk(75.7%, 35.8%, 0%, 32.2%)
CIE-LABlab(45.46, 0.25, -39.21)
CIE-LCHlch(45.46, 39.21, 270.36°)
OKLaboklab(52.9% -0.0424 -0.1115)
OKLCHoklch(52.9% 0.119 249.2)
XYZxyz(14.1792, 14.8766, 41.6512)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FAD #AD682A
analogous
#2AADAA #2A6FAD #2A2EAD
triadic
#2A6FAD #AD2A6F #6FAD2A
tetradic
#2A6FAD #AA2AAD #AD682A #2EAD2A
square
#2A6FAD #AA2AAD #AD682A #2EAD2A
split-complementary
#2A6FAD #AD2A2E #ADAA2A
monochromatic
#12304B #1E4F7C #2A6FAD #438ED1 #74ACDD

Accessibility & contrast

On white

5.28
#2A6FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2A6FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6FAD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6FAD#FFFFFF#000000##FFFFFF
##2A6FAD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5272B0
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a6fad;
/* rgb */ color: rgb(42, 111, 173);
/* oklch */ color: oklch(52.9% 0.119 249.2);
Tailwind
colors: {
  custom: {
    50: '#7698c6',
    500: '#2a6fad',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fad;
$custom-light: #7698c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fad",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 173
  },
  "hsl": {
    "h": 208.397,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.529,
    "c": 0.11933,
    "h": 249.2
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#2A6FAD
secondary
#C5976E
accent
#9044E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A6FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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