#2662AD#2662AD

#2662AD is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.8% C 0.135 H 255.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2662AD
RGBrgb(38, 98, 173)
HSLhsl(213, 64%, 41%)
HSVhsv(213, 78%, 68%)
CMYKcmyk(78%, 43.4%, 0%, 32.2%)
CIE-LABlab(41.47, 7.93, -45.57)
CIE-LCHlch(41.47, 46.26, 279.87°)
OKLaboklab(49.75% -0.033 -0.1305)
OKLCHoklch(49.75% 0.135 255.8)
XYZxyz(12.7070, 12.1631, 41.2051)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2662AD #AD7126
analogous
#26A6AD #2662AD #2D26AD
triadic
#2662AD #AD2662 #62AD26
tetradic
#2662AD #AD26A6 #AD7126 #26AD2D
square
#2662AD #AD26A6 #AD7126 #26AD2D
split-complementary
#2662AD #AD2D26 #A6AD26
monochromatic
#102949 #1B467B #2662AD #3C80D4 #6EA0DF

Accessibility & contrast

On white

6.12
#2662AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2662AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2662AD#FFFFFF#000000##FFFFFF
##2662AD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68B0
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2662ad;
/* rgb */ color: rgb(38, 98, 173);
/* oklch */ color: oklch(49.8% 0.135 255.8);
Tailwind
colors: {
  custom: {
    50: '#758ec6',
    500: '#2662ad',
    950: '#000000',
  },
}
SCSS
$custom: #2662ad;
$custom-light: #758ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2662ad",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 213.333,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.13458,
    "h": 255.8
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#2662AD
secondary
#C69D69
accent
#9D41E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2662AD

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

Preview Lab → · Contrast checker → · Palette generator →

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