#2A66AB#2A66AB

#2A66AB is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.7% C 0.126 H 254.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2A66AB
RGBrgb(42, 102, 171)
HSLhsl(212, 61%, 42%)
HSVhsv(212, 75%, 67%)
CMYKcmyk(75.4%, 40.4%, 0%, 32.9%)
CIE-LABlab(42.66, 5.11, -42.49)
CIE-LCHlch(42.66, 42.79, 276.86°)
OKLaboklab(50.67% -0.0345 -0.1213)
OKLCHoklch(50.67% 0.126 254.1)
XYZxyz(13.0542, 12.9338, 40.3287)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A66AB #AB6F2A
analogous
#2AA7AB #2A66AB #2F2AAB
triadic
#2A66AB #AB2A66 #66AB2A
tetradic
#2A66AB #AB2AA7 #AB6F2A #2AAB2F
square
#2A66AB #AB2AA7 #AB6F2A #2AAB2F
split-complementary
#2A66AB #AB2F2A #A7AB2A
monochromatic
#122B49 #1E497A #2A66AB #4284D1 #73A4DD

Accessibility & contrast

On white

5.85
#2A66AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A66AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A66AB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A66AB#FFFFFF#000000##FFFFFF
##2A66AB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAE
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a66ab;
/* rgb */ color: rgb(42, 102, 171);
/* oklch */ color: oklch(50.7% 0.126 254.1);
Tailwind
colors: {
  custom: {
    50: '#7591c4',
    500: '#2a66ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a66ab;
$custom-light: #7591c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a66ab",
  "rgb": {
    "r": 42,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 212.093,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.12611,
    "h": 254.1
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#2A66AB
secondary
#C49B6D
accent
#9944E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A66AB

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

Preview Lab → · Contrast checker → · Palette generator →

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