#2662AB#2662AB

#2662AB is a mid, vivid cyan. Relative luminance 0.121; OKLCH L 49.6% C 0.132 H 255.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2662AB
RGBrgb(38, 98, 171)
HSLhsl(213, 64%, 41%)
HSVhsv(213, 78%, 67%)
CMYKcmyk(77.8%, 42.7%, 0%, 32.9%)
CIE-LABlab(41.35, 7.16, -44.59)
CIE-LCHlch(41.35, 45.16, 279.12°)
OKLaboklab(49.62% -0.0334 -0.1276)
OKLCHoklch(49.62% 0.132 255.3)
XYZxyz(12.5150, 12.0862, 40.1935)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2662AB #AB6F26
analogous
#26A4AB #2662AB #2C26AB
triadic
#2662AB #AB2662 #62AB26
tetradic
#2662AB #AB26A4 #AB6F26 #26AB2C
square
#2662AB #AB26A4 #AB6F26 #26AB2C
split-complementary
#2662AB #AB2C26 #A4AB26
monochromatic
#102947 #1B4579 #2662AB #3B80D3 #6DA0DF

Accessibility & contrast

On white

6.14
#2662AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2662AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2662AB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2662AB#FFFFFF#000000##FFFFFF
##2662AB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2662ab;
/* rgb */ color: rgb(38, 98, 171);
/* oklch */ color: oklch(49.6% 0.132 255.3);
Tailwind
colors: {
  custom: {
    50: '#748ec4',
    500: '#2662ab',
    950: '#000000',
  },
}
SCSS
$custom: #2662ab;
$custom-light: #748ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2662ab",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 212.932,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.13188,
    "h": 255.3
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#2662AB
secondary
#C59B68
accent
#9C41E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #2662AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2662AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva