#2D6BB6#2D6BB6

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

Color values

HEX#2D6BB6
RGBrgb(45, 107, 182)
HSLhsl(213, 60%, 45%)
HSVhsv(213, 75%, 71%)
CMYKcmyk(75.3%, 41.2%, 0%, 28.6%)
CIE-LABlab(44.87, 6.50, -45.40)
CIE-LCHlch(44.87, 45.86, 278.15°)
OKLaboklab(52.62% -0.0347 -0.1297)
OKLCHoklch(52.62% 0.134 255)
XYZxyz(14.7803, 14.4490, 46.2569)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6BB6 #B6782D
analogous
#2DAFB6 #2D6BB6 #342DB6
triadic
#2D6BB6 #B62D6B #6BB62D
tetradic
#2D6BB6 #B62DAF #B6782D #2DB634
square
#2D6BB6 #B62DAF #B6782D #2DB634
split-complementary
#2D6BB6 #B6342D #AFB62D
monochromatic
#153154 #214E85 #2D6BB6 #4D8AD3 #7EAADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6BB6#FFFFFF#000000##FFFFFF
##2D6BB61.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)
#4771B9
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6bb6;
/* rgb */ color: rgb(45, 107, 182);
/* oklch */ color: oklch(52.6% 0.134 255.0);
Tailwind
colors: {
  custom: {
    50: '#7994cc',
    500: '#2d6bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d6bb6;
$custom-light: #7994cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6bb6",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 212.847,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.13427,
    "h": 255
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#2D6BB6
secondary
#C8A377
accent
#9B44E3
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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