#2D7ABF#2D7ABF

#2D7ABF is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.130 H 249.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2D7ABF
RGBrgb(45, 122, 191)
HSLhsl(208, 62%, 46%)
HSVhsv(208, 76%, 75%)
CMYKcmyk(76.4%, 36.1%, 0%, 25.1%)
CIE-LABlab(49.78, 0.59, -42.79)
CIE-LCHlch(49.78, 42.80, 270.79°)
OKLaboklab(56.63% -0.046 -0.1218)
OKLCHoklch(56.63% 0.13 249.3)
XYZxyz(17.4421, 18.2365, 51.8808)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7ABF #BF722D
analogous
#2DBFBB #2D7ABF #2D31BF
triadic
#2D7ABF #BF2D7A #7ABF2D
tetradic
#2D7ABF #BB2DBF #BF722D #31BF2D
square
#2D7ABF #BB2DBF #BF722D #31BF2D
split-complementary
#2D7ABF #BF2D31 #BFBB2D
monochromatic
#163B5C #215A8D #2D7ABF #5398D6 #84B6E2

Accessibility & contrast

On white

4.52
#2D7ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2D7ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7ABF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7ABF#FFFFFF#000000##000000
##2D7ABF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7abf;
/* rgb */ color: rgb(45, 122, 191);
/* oklch */ color: oklch(56.6% 0.130 249.3);
Tailwind
colors: {
  custom: {
    50: '#7ba0d2',
    500: '#2d7abf',
    950: '#000000',
  },
}
SCSS
$custom: #2d7abf;
$custom-light: #7ba0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7abf",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 191
  },
  "hsl": {
    "h": 208.356,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.13024,
    "h": 249.3
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#2D7ABF
secondary
#CBA27C
accent
#8F43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D7ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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