#2D6CBC#2D6CBC

#2D6CBC is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.141 H 256.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2D6CBC
RGBrgb(45, 108, 188)
HSLhsl(214, 61%, 46%)
HSVhsv(214, 76%, 74%)
CMYKcmyk(76.1%, 42.6%, 0%, 26.3%)
CIE-LABlab(45.51, 8.13, -47.86)
CIE-LCHlch(45.51, 48.54, 279.65°)
OKLaboklab(53.24% -0.0342 -0.1369)
OKLCHoklch(53.24% 0.141 256)
XYZxyz(15.5185, 14.9121, 49.6276)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CBC #BC7D2D
analogous
#2DB3BC #2D6CBC #352DBC
triadic
#2D6CBC #BC2D6C #6CBC2D
tetradic
#2D6CBC #BC2DB3 #BC7D2D #2DBC35
square
#2D6CBC #BC2DB3 #BC7D2D #2DBC35
split-complementary
#2D6CBC #BC352D #B3BC2D
monochromatic
#153359 #21508B #2D6CBC #518BD5 #82ACE1

Accessibility & contrast

On white

5.27
#2D6CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2D6CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CBC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CBC#FFFFFF#000000##FFFFFF
##2D6CBC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d6cbc;
/* rgb */ color: rgb(45, 108, 188);
/* oklch */ color: oklch(53.2% 0.141 256.0);
Tailwind
colors: {
  custom: {
    50: '#7a95d1',
    500: '#2d6cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cbc;
$custom-light: #7a95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cbc",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 213.566,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.14114,
    "h": 256
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#2D6CBC
secondary
#CAA77B
accent
#9D43E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D6CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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