#2D6BB2#2D6BB2

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

Color values

HEX#2D6BB2
RGBrgb(45, 107, 178)
HSLhsl(212, 60%, 44%)
HSVhsv(212, 75%, 70%)
CMYKcmyk(74.7%, 39.9%, 0%, 30.2%)
CIE-LABlab(44.64, 5.00, -43.44)
CIE-LCHlch(44.64, 43.72, 276.57°)
OKLaboklab(52.37% -0.0356 -0.1239)
OKLCHoklch(52.37% 0.129 254)
XYZxyz(14.3728, 14.2860, 44.1108)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6BB2 #B2742D
analogous
#2DADB2 #2D6BB2 #312DB2
triadic
#2D6BB2 #B22D6B #6BB22D
tetradic
#2D6BB2 #B22DAD #B2742D #2DB231
square
#2D6BB2 #B22DAD #B2742D #2DB231
split-complementary
#2D6BB2 #B2312D #ADB22D
monochromatic
#143050 #214E81 #2D6BB2 #4B8AD1 #7CA9DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6BB2#FFFFFF#000000##FFFFFF
##2D6BB21.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)
#4970B5
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6bb2;
/* rgb */ color: rgb(45, 107, 178);
/* oklch */ color: oklch(52.4% 0.129 254.0);
Tailwind
colors: {
  custom: {
    50: '#7894c9',
    500: '#2d6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d6bb2;
$custom-light: #7894c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6bb2",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 212.03,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.12896,
    "h": 254
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#2D6BB2
secondary
#C6A075
accent
#9945E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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