#2D6AB7#2D6AB7

#2D6AB7 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.5% C 0.137 H 255.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2D6AB7
RGBrgb(45, 106, 183)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 75%, 72%)
CMYKcmyk(75.4%, 42.1%, 0%, 28.2%)
CIE-LABlab(44.64, 7.51, -46.36)
CIE-LCHlch(44.64, 46.96, 279.20°)
OKLaboklab(52.46% -0.0335 -0.1325)
OKLCHoklch(52.46% 0.137 255.8)
XYZxyz(14.7803, 14.2832, 46.7685)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6AB7 #B77A2D
analogous
#2DAFB7 #2D6AB7 #352DB7
triadic
#2D6AB7 #B72D6A #6AB72D
tetradic
#2D6AB7 #B72DAF #B77A2D #2DB735
square
#2D6AB7 #B72DAF #B77A2D #2DB735
split-complementary
#2D6AB7 #B7352D #AFB72D
monochromatic
#153155 #214E86 #2D6AB7 #4E89D3 #7FAADF

Accessibility & contrast

On white

5.44
#2D6AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2D6AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6AB7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6AB7#FFFFFF#000000##FFFFFF
##2D6AB71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4570BA
Deuteranopia (green-blind)
#2D64B5
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6ab7;
/* rgb */ color: rgb(45, 106, 183);
/* oklch */ color: oklch(52.5% 0.137 255.8);
Tailwind
colors: {
  custom: {
    50: '#7994cd',
    500: '#2d6ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ab7;
$custom-light: #7994cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ab7",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 183
  },
  "hsl": {
    "h": 213.478,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.13673,
    "h": 255.8
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#2D6AB7
secondary
#C8A578
accent
#9D44E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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