#2D6AAB#2D6AAB

#2D6AAB is a mid, vivid cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.121 H 252.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2D6AAB
RGBrgb(45, 106, 171)
HSLhsl(211, 58%, 42%)
HSVhsv(211, 74%, 67%)
CMYKcmyk(73.7%, 38%, 0%, 32.9%)
CIE-LABlab(43.95, 3.01, -40.43)
CIE-LCHlch(43.95, 40.54, 274.25°)
OKLaboklab(51.71% -0.0364 -0.1152)
OKLCHoklch(51.71% 0.121 252.5)
XYZxyz(13.5842, 13.8047, 40.4688)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6AAB #AB6E2D
analogous
#2DA9AB #2D6AAB #2F2DAB
triadic
#2D6AAB #AB2D6A #6AAB2D
tetradic
#2D6AAB #AB2DA9 #AB6E2D #2DAB2F
square
#2D6AAB #AB2DA9 #AB6E2D #2DAB2F
split-complementary
#2D6AAB #AB2F2D #A9AB2D
monochromatic
#142E4A #204C7B #2D6AAB #4788CE #77A8DB

Accessibility & contrast

On white

5.58
#2D6AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2D6AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6AAB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6AAB#FFFFFF#000000##FFFFFF
##2D6AAB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAE
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d6aab;
/* rgb */ color: rgb(45, 106, 171);
/* oklch */ color: oklch(51.7% 0.121 252.5);
Tailwind
colors: {
  custom: {
    50: '#7794c4',
    500: '#2d6aab',
    950: '#000000',
  },
}
SCSS
$custom: #2d6aab;
$custom-light: #7794c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6aab",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 171
  },
  "hsl": {
    "h": 210.952,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51705,
    "c": 0.12077,
    "h": 252.5
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#2D6AAB
secondary
#C39B71
accent
#9646E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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