#2A6FAE#2A6FAE

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

Color values

HEX#2A6FAE
RGBrgb(42, 111, 174)
HSLhsl(209, 61%, 42%)
HSVhsv(209, 76%, 68%)
CMYKcmyk(75.9%, 36.2%, 0%, 31.8%)
CIE-LABlab(45.52, 0.62, -39.71)
CIE-LCHlch(45.52, 39.72, 270.89°)
OKLaboklab(52.96% -0.0421 -0.113)
OKLCHoklch(52.96% 0.121 249.5)
XYZxyz(14.2764, 14.9155, 42.1628)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6FAE #AE692A
analogous
#2AAEAB #2A6FAE #2A2DAE
triadic
#2A6FAE #AE2A6F #6FAE2A
tetradic
#2A6FAE #AB2AAE #AE692A #2DAE2A
square
#2A6FAE #AB2AAE #AE692A #2DAE2A
split-complementary
#2A6FAE #AE2A2D #AEAB2A
monochromatic
#12304B #1E507D #2A6FAE #438ED2 #75ACDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6FAE#FFFFFF#000000##FFFFFF
##2A6FAE1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6fae;
/* rgb */ color: rgb(42, 111, 174);
/* oklch */ color: oklch(53.0% 0.121 249.5);
Tailwind
colors: {
  custom: {
    50: '#7697c6',
    500: '#2a6fae',
    950: '#000000',
  },
}
SCSS
$custom: #2a6fae;
$custom-light: #7697c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6fae",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 174
  },
  "hsl": {
    "h": 208.636,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.1206,
    "h": 249.5
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A6FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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