#2D7AC7#2D7AC7

#2D7AC7 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.140 H 251.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D7AC7
RGBrgb(45, 122, 199)
HSLhsl(210, 63%, 48%)
HSVhsv(210, 77%, 78%)
CMYKcmyk(77.4%, 38.7%, 0%, 22%)
CIE-LABlab(50.21, 3.56, -46.69)
CIE-LCHlch(50.21, 46.83, 274.36°)
OKLaboklab(57.1% -0.044 -0.1332)
OKLCHoklch(57.1% 0.14 251.7)
XYZxyz(18.3466, 18.5983, 56.6447)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7AC7 #C77A2D
analogous
#2DC7C7 #2D7AC7 #2D2DC7
triadic
#2D7AC7 #C72D7A #7AC72D
tetradic
#2D7AC7 #C72DC7 #C77A2D #2DC72D
square
#2D7AC7 #C72DC7 #C77A2D #2DC72D
split-complementary
#2D7AC7 #C72D2D #C7C72D
monochromatic
#163D63 #225B95 #2D7AC7 #5899D9 #8AB7E5

Accessibility & contrast

On white

4.45
#2D7AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2D7AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7AC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7AC7#FFFFFF#000000##000000
##2D7AC71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7ac7;
/* rgb */ color: rgb(45, 122, 199);
/* oklch */ color: oklch(57.1% 0.140 251.7);
Tailwind
colors: {
  custom: {
    50: '#7ca0d8',
    500: '#2d7ac7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7ac7;
$custom-light: #7ca0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7ac7",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 210,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.14032,
    "h": 251.7
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#2D7AC7
secondary
#CEA881
accent
#9442E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D7AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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