#2D6EB4#2D6EB4

#2D6EB4 is a mid, vivid cyan. Relative luminance 0.150; OKLCH L 53.2% C 0.128 H 252.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2D6EB4
RGBrgb(45, 110, 180)
HSLhsl(211, 60%, 44%)
HSVhsv(211, 75%, 71%)
CMYKcmyk(75%, 38.9%, 0%, 29.4%)
CIE-LABlab(45.64, 3.88, -43.01)
CIE-LCHlch(45.64, 43.19, 275.15°)
OKLaboklab(53.19% -0.0379 -0.1227)
OKLCHoklch(53.19% 0.128 252.8)
XYZxyz(14.8933, 15.0033, 45.2822)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EB4 #B4732D
analogous
#2DB2B4 #2D6EB4 #302DB4
triadic
#2D6EB4 #B42D6E #6EB42D
tetradic
#2D6EB4 #B42DB2 #B4732D #2DB430
square
#2D6EB4 #B42DB2 #B4732D #2DB430
split-complementary
#2D6EB4 #B4302D #B2B42D
monochromatic
#153252 #215083 #2D6EB4 #4C8DD2 #7DACDE

Accessibility & contrast

On white

5.25
#2D6EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2D6EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EB4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EB4#FFFFFF#000000##FFFFFF
##2D6EB41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B7
Deuteranopia (green-blind)
#3866B3
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d6eb4;
/* rgb */ color: rgb(45, 110, 180);
/* oklch */ color: oklch(53.2% 0.128 252.8);
Tailwind
colors: {
  custom: {
    50: '#7897cb',
    500: '#2d6eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d6eb4;
$custom-light: #7897cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6eb4",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 211.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.12837,
    "h": 252.8
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#2D6EB4
secondary
#C7A076
accent
#9745E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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