#2C7DBD#2C7DBD

#2C7DBD is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.2% C 0.125 H 246.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7DBD
RGBrgb(44, 125, 189)
HSLhsl(206, 62%, 46%)
HSVhsv(206, 77%, 74%)
CMYKcmyk(76.7%, 33.9%, 0%, 25.9%)
CIE-LABlab(50.54, -2.07, -40.45)
CIE-LCHlch(50.54, 40.50, 267.07°)
OKLaboklab(57.18% -0.0499 -0.1149)
OKLCHoklch(57.18% 0.125 246.5)
XYZxyz(17.5541, 18.8748, 50.8523)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DBD #BD6C2C
analogous
#2CBDB4 #2C7DBD #2C34BD
triadic
#2C7DBD #BD2C7D #7DBD2C
tetradic
#2C7DBD #B42CBD #BD6C2C #34BD2C
square
#2C7DBD #B42CBD #BD6C2C #34BD2C
split-complementary
#2C7DBD #BD2C34 #BDB42C
monochromatic
#153B5A #205C8B #2C7DBD #509BD6 #82B7E2

Accessibility & contrast

On white

4.40
#2C7DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2C7DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DBD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DBD#FFFFFF#000000##000000
##2C7DBD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C0
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7dbd;
/* rgb */ color: rgb(44, 125, 189);
/* oklch */ color: oklch(57.2% 0.125 246.5);
Tailwind
colors: {
  custom: {
    50: '#7aa2d1',
    500: '#2c7dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c7dbd;
$custom-light: #7aa2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7dbd",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 206.483,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.12529,
    "h": 246.5
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#2C7DBD
secondary
#CB9E7A
accent
#8A42E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #2C7DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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