#2D66AB#2D66AB

#2D66AB is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.8% C 0.125 H 254.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2D66AB
RGBrgb(45, 102, 171)
HSLhsl(213, 58%, 42%)
HSVhsv(213, 74%, 67%)
CMYKcmyk(73.7%, 40.4%, 0%, 32.9%)
CIE-LABlab(42.76, 5.52, -42.32)
CIE-LCHlch(42.76, 42.68, 277.43°)
OKLaboklab(50.78% -0.0326 -0.1208)
OKLCHoklch(50.78% 0.125 254.9)
XYZxyz(13.1815, 12.9994, 40.3346)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66AB #AB722D
analogous
#2DA5AB #2D66AB #332DAB
triadic
#2D66AB #AB2D66 #66AB2D
tetradic
#2D66AB #AB2DA5 #AB722D #2DAB33
square
#2D66AB #AB2DA5 #AB722D #2DAB33
split-complementary
#2D66AB #AB332D #A5AB2D
monochromatic
#142C4A #20497B #2D66AB #4784CE #77A4DB

Accessibility & contrast

On white

5.83
#2D66AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2D66AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66AB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66AB#FFFFFF#000000##FFFFFF
##2D66AB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAE
Deuteranopia (green-blind)
#3160AA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d66ab;
/* rgb */ color: rgb(45, 102, 171);
/* oklch */ color: oklch(50.8% 0.125 254.9);
Tailwind
colors: {
  custom: {
    50: '#7791c4',
    500: '#2d66ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d66ab;
$custom-light: #7791c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66ab",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 212.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.12509,
    "h": 254.9
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#2D66AB
secondary
#C39E71
accent
#9B46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D66AB

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

Preview Lab → · Contrast checker → · Palette generator →

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