#2D7BC4#2D7BC4

#2D7BC4 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.136 H 250.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D7BC4
RGBrgb(45, 123, 196)
HSLhsl(209, 63%, 47%)
HSVhsv(209, 77%, 77%)
CMYKcmyk(77%, 37.2%, 0%, 23.1%)
CIE-LABlab(50.34, 1.84, -44.77)
CIE-LCHlch(50.34, 44.81, 272.35°)
OKLaboklab(57.15% -0.0456 -0.1276)
OKLCHoklch(57.15% 0.136 250.3)
XYZxyz(18.1252, 18.7072, 54.8694)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7BC4 #C4762D
analogous
#2DC4C2 #2D7BC4 #2D2FC4
triadic
#2D7BC4 #C42D7B #7BC42D
tetradic
#2D7BC4 #C22DC4 #C4762D #2FC42D
square
#2D7BC4 #C22DC4 #C4762D #2FC42D
split-complementary
#2D7BC4 #C42D2F #C4C22D
monochromatic
#163D60 #225C92 #2D7BC4 #5699D8 #88B7E4

Accessibility & contrast

On white

4.43
#2D7BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2D7BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7BC4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7BC4#FFFFFF#000000##000000
##2D7BC41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC7
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7bc4;
/* rgb */ color: rgb(45, 123, 196);
/* oklch */ color: oklch(57.2% 0.136 250.3);
Tailwind
colors: {
  custom: {
    50: '#7ca0d6',
    500: '#2d7bc4',
    950: '#000000',
  },
}
SCSS
$custom: #2d7bc4;
$custom-light: #7ca0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7bc4",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 209.007,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.13551,
    "h": 250.3
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#2D7BC4
secondary
#CDA580
accent
#9142E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D7BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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