#2D6CB7#2D6CB7

#2D6CB7 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.135 H 254.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB7
RGBrgb(45, 108, 183)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 75%, 72%)
CMYKcmyk(75.4%, 41%, 0%, 28.2%)
CIE-LABlab(45.22, 6.25, -45.42)
CIE-LCHlch(45.22, 45.85, 277.84°)
OKLaboklab(52.92% -0.0353 -0.1298)
OKLCHoklch(52.92% 0.135 254.8)
XYZxyz(14.9888, 14.7002, 46.8380)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB7 #B7782D
analogous
#2DB1B7 #2D6CB7 #332DB7
triadic
#2D6CB7 #B72D6C #6CB72D
tetradic
#2D6CB7 #B72DB1 #B7782D #2DB733
square
#2D6CB7 #B72DB1 #B7782D #2DB733
split-complementary
#2D6CB7 #B7332D #B1B72D
monochromatic
#153255 #214F86 #2D6CB7 #4E8BD3 #7FABDF

Accessibility & contrast

On white

5.33
#2D6CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2D6CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CB7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB7#FFFFFF#000000##FFFFFF
##2D6CB71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6cb7;
/* rgb */ color: rgb(45, 108, 183);
/* oklch */ color: oklch(52.9% 0.135 254.8);
Tailwind
colors: {
  custom: {
    50: '#7995cd',
    500: '#2d6cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb7;
$custom-light: #7995cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb7",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 212.609,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.1345,
    "h": 254.8
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#2D6CB7
secondary
#C8A378
accent
#9B44E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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