#2D6ABB#2D6ABB

#2D6ABB is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.142 H 256.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2D6ABB
RGBrgb(45, 106, 187)
HSLhsl(214, 61%, 45%)
HSVhsv(214, 76%, 73%)
CMYKcmyk(75.9%, 43.3%, 0%, 26.7%)
CIE-LABlab(44.87, 9.02, -48.30)
CIE-LCHlch(44.87, 49.14, 280.58°)
OKLaboklab(52.72% -0.0327 -0.1383)
OKLCHoklch(52.72% 0.142 256.7)
XYZxyz(15.2026, 14.4521, 48.9924)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6ABB #BB7E2D
analogous
#2DB1BB #2D6ABB #372DBB
triadic
#2D6ABB #BB2D6A #6ABB2D
tetradic
#2D6ABB #BB2DB1 #BB7E2D #2DBB37
square
#2D6ABB #BB2DB1 #BB7E2D #2DBB37
split-complementary
#2D6ABB #BB372D #B1BB2D
monochromatic
#153258 #214E8A #2D6ABB #5089D5 #82AAE1

Accessibility & contrast

On white

5.40
#2D6ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2D6ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6ABB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6ABB#FFFFFF#000000##FFFFFF
##2D6ABB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6abb;
/* rgb */ color: rgb(45, 106, 187);
/* oklch */ color: oklch(52.7% 0.142 256.7);
Tailwind
colors: {
  custom: {
    50: '#7a94d0',
    500: '#2d6abb',
    950: '#000000',
  },
}
SCSS
$custom: #2d6abb;
$custom-light: #7a94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6abb",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 214.225,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.14208,
    "h": 256.7
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#2D6ABB
secondary
#CAA87A
accent
#9F43E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D6ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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