#2D6EAB#2D6EAB

#2D6EAB is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.6% C 0.117 H 249.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2D6EAB
RGBrgb(45, 110, 171)
HSLhsl(209, 58%, 42%)
HSVhsv(209, 74%, 67%)
CMYKcmyk(73.7%, 35.7%, 0%, 32.9%)
CIE-LABlab(45.15, 0.52, -38.53)
CIE-LCHlch(45.15, 38.54, 270.78°)
OKLaboklab(52.64% -0.0402 -0.1095)
OKLCHoklch(52.64% 0.117 249.8)
XYZxyz(14.0060, 14.6485, 40.6095)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EAB #AB6A2D
analogous
#2DABA9 #2D6EAB #2D2FAB
triadic
#2D6EAB #AB2D6E #6EAB2D
tetradic
#2D6EAB #A92DAB #AB6A2D #2FAB2D
square
#2D6EAB #A92DAB #AB6A2D #2FAB2D
split-complementary
#2D6EAB #AB2D2F #ABA92D
monochromatic
#14304A #204F7B #2D6EAB #478DCE #77ABDB

Accessibility & contrast

On white

5.34
#2D6EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2D6EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EAB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EAB#FFFFFF#000000##FFFFFF
##2D6EAB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6eab;
/* rgb */ color: rgb(45, 110, 171);
/* oklch */ color: oklch(52.6% 0.117 249.8);
Tailwind
colors: {
  custom: {
    50: '#7797c4',
    500: '#2d6eab',
    950: '#000000',
  },
}
SCSS
$custom: #2d6eab;
$custom-light: #7797c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6eab",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 171
  },
  "hsl": {
    "h": 209.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.1167,
    "h": 249.8
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#2D6EAB
secondary
#C39971
accent
#9146E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2D6EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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