#2D7DBA#2D7DBA

#2D7DBA is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.121 H 245.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2D7DBA
RGBrgb(45, 125, 186)
HSLhsl(206, 61%, 45%)
HSVhsv(206, 76%, 73%)
CMYKcmyk(75.8%, 32.8%, 0%, 27.1%)
CIE-LABlab(50.41, -3.05, -38.92)
CIE-LCHlch(50.41, 39.04, 265.52°)
OKLaboklab(57.04% -0.0502 -0.1105)
OKLCHoklch(57.04% 0.121 245.6)
XYZxyz(17.2753, 18.7683, 49.1570)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7DBA #BA6A2D
analogous
#2DBAB0 #2D7DBA #2D37BA
triadic
#2D7DBA #BA2D7D #7DBA2D
tetradic
#2D7DBA #B02DBA #BA6A2D #37BA2D
square
#2D7DBA #B02DBA #BA6A2D #37BA2D
split-complementary
#2D7DBA #BA2D37 #BAB02D
monochromatic
#153B57 #215C89 #2D7DBA #509BD5 #81B7E0

Accessibility & contrast

On white

4.42
#2D7DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2D7DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7DBA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7DBA#FFFFFF#000000##000000
##2D7DBA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBD
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d7dba;
/* rgb */ color: rgb(45, 125, 186);
/* oklch */ color: oklch(57.0% 0.121 245.6);
Tailwind
colors: {
  custom: {
    50: '#7aa2cf',
    500: '#2d7dba',
    950: '#000000',
  },
}
SCSS
$custom: #2d7dba;
$custom-light: #7aa2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7dba",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 205.957,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.12134,
    "h": 245.6
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#2D7DBA
secondary
#C99C79
accent
#8944E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F14
muted
#7C7E82

Preview Lab

Preview with #2D7DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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