#2662AA#2662AA

#2662AA is a mid, vivid cyan. Relative luminance 0.120; OKLCH L 49.6% C 0.131 H 255.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2662AA
RGBrgb(38, 98, 170)
HSLhsl(213, 63%, 41%)
HSVhsv(213, 78%, 67%)
CMYKcmyk(77.6%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.29, 6.77, -44.09)
CIE-LCHlch(41.29, 44.61, 278.73°)
OKLaboklab(49.55% -0.0336 -0.1261)
OKLCHoklch(49.55% 0.131 255.1)
XYZxyz(12.4200, 12.0483, 39.6934)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2662AA #AA6E26
analogous
#26A4AA #2662AA #2C26AA
triadic
#2662AA #AA2662 #62AA26
tetradic
#2662AA #AA26A4 #AA6E26 #26AA2C
square
#2662AA #AA26A4 #AA6E26 #26AA2C
split-complementary
#2662AA #AA2C26 #A4AA26
monochromatic
#102846 #1B4578 #2662AA #3A80D3 #6CA0DE

Accessibility & contrast

On white

6.16
#2662AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2662AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2662AA#FFFFFF#000000##FFFFFF
##2662AA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#275CA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2662aa;
/* rgb */ color: rgb(38, 98, 170);
/* oklch */ color: oklch(49.6% 0.131 255.1);
Tailwind
colors: {
  custom: {
    50: '#748ec4',
    500: '#2662aa',
    950: '#000000',
  },
}
SCSS
$custom: #2662aa;
$custom-light: #748ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2662aa",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 212.727,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.13054,
    "h": 255.1
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#2662AA
secondary
#C59A67
accent
#9B41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2662AA

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

Preview Lab → · Contrast checker → · Palette generator →

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