#2662AF#2662AF

#2662AF is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.9% C 0.137 H 256.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2662AF
RGBrgb(38, 98, 175)
HSLhsl(214, 64%, 42%)
HSVhsv(214, 78%, 69%)
CMYKcmyk(78.3%, 44%, 0%, 31.4%)
CIE-LABlab(41.60, 8.70, -46.55)
CIE-LCHlch(41.60, 47.36, 280.59°)
OKLaboklab(49.89% -0.0326 -0.1334)
OKLCHoklch(49.89% 0.137 256.3)
XYZxyz(12.9020, 12.2411, 42.2319)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2662AF #AF7326
analogous
#26A7AF #2662AF #2F26AF
triadic
#2662AF #AF2662 #62AF26
tetradic
#2662AF #AF26A7 #AF7326 #26AF2F
square
#2662AF #AF26A7 #AF7326 #26AF2F
split-complementary
#2662AF #AF2F26 #A7AF26
monochromatic
#102A4A #1B467D #2662AF #3D80D5 #70A1E0

Accessibility & contrast

On white

6.09
#2662AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2662AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2662AF#FFFFFF#000000##FFFFFF
##2662AF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2662af;
/* rgb */ color: rgb(38, 98, 175);
/* oklch */ color: oklch(49.9% 0.137 256.3);
Tailwind
colors: {
  custom: {
    50: '#758ec7',
    500: '#2662af',
    950: '#000000',
  },
}
SCSS
$custom: #2662af;
$custom-light: #758ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2662af",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 213.723,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.13728,
    "h": 256.3
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#2662AF
secondary
#C79E6A
accent
#9E40E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2662AF

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

Preview Lab → · Contrast checker → · Palette generator →

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