#2662A4#2662A4

#2662A4 is a mid, vivid cyan. Relative luminance 0.118; OKLCH L 49.2% C 0.122 H 253.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2662A4
RGBrgb(38, 98, 164)
HSLhsl(211, 62%, 40%)
HSVhsv(211, 77%, 64%)
CMYKcmyk(76.8%, 40.2%, 0%, 35.7%)
CIE-LABlab(40.94, 4.46, -41.11)
CIE-LCHlch(40.94, 41.35, 276.20°)
OKLaboklab(49.16% -0.035 -0.1174)
OKLCHoklch(49.16% 0.122 253.4)
XYZxyz(11.8653, 11.8264, 36.7721)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2662A4 #A46826
analogous
#26A1A4 #2662A4 #2926A4
triadic
#2662A4 #A42662 #62A426
tetradic
#2662A4 #A426A1 #A46826 #26A429
square
#2662A4 #A426A1 #A46826 #26A429
split-complementary
#2662A4 #A42926 #A1A426
monochromatic
#0F2741 #1A4472 #2662A4 #3780D1 #689FDC

Accessibility & contrast

On white

6.24
#2662A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2662A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2662A4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2662A4#FFFFFF#000000##FFFFFF
##2662A41.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2662a4;
/* rgb */ color: rgb(38, 98, 164);
/* oklch */ color: oklch(49.2% 0.122 253.4);
Tailwind
colors: {
  custom: {
    50: '#738ebf',
    500: '#2662a4',
    950: '#000000',
  },
}
SCSS
$custom: #2662a4;
$custom-light: #738ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2662a4",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 164
  },
  "hsl": {
    "h": 211.429,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.12247,
    "h": 253.4
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#2662A4
secondary
#C29564
accent
#9842E5
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2662A4

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

Preview Lab → · Contrast checker → · Palette generator →

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