#2D66A8#2D66A8

#2D66A8 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.6% C 0.121 H 254.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2D66A8
RGBrgb(45, 102, 168)
HSLhsl(212, 58%, 42%)
HSVhsv(212, 73%, 66%)
CMYKcmyk(73.2%, 39.3%, 0%, 34.1%)
CIE-LABlab(42.59, 4.40, -40.83)
CIE-LCHlch(42.59, 41.06, 276.14°)
OKLaboklab(50.59% -0.0333 -0.1164)
OKLCHoklch(50.59% 0.121 254)
XYZxyz(12.8988, 12.8864, 38.8457)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66A8 #A86F2D
analogous
#2DA4A8 #2D66A8 #322DA8
triadic
#2D66A8 #A82D66 #66A82D
tetradic
#2D66A8 #A82DA4 #A86F2D #2DA832
square
#2D66A8 #A82DA4 #A86F2D #2DA832
split-complementary
#2D66A8 #A8322D #A4A82D
monochromatic
#132B47 #204978 #2D66A8 #4584CD #75A4DA

Accessibility & contrast

On white

5.87
#2D66A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2D66A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66A8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66A8#FFFFFF#000000##FFFFFF
##2D66A81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d66a8;
/* rgb */ color: rgb(45, 102, 168);
/* oklch */ color: oklch(50.6% 0.121 254.0);
Tailwind
colors: {
  custom: {
    50: '#7691c2',
    500: '#2d66a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d66a8;
$custom-light: #7691c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66a8",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 212.195,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.12106,
    "h": 254
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#2D66A8
secondary
#C29B6F
accent
#9A47E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2D66A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2D66A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva