#2D7FBF#2D7FBF

#2D7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.126 H 246.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2D7FBF
RGBrgb(45, 127, 191)
HSLhsl(206, 62%, 46%)
HSVhsv(206, 76%, 75%)
CMYKcmyk(76.4%, 33.5%, 0%, 25.1%)
CIE-LABlab(51.26, -2.41, -40.45)
CIE-LCHlch(51.26, 40.52, 266.59°)
OKLaboklab(57.79% -0.0506 -0.1149)
OKLCHoklch(57.79% 0.126 246.2)
XYZxyz(18.0719, 19.4961, 52.0908)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FBF #BF6D2D
analogous
#2DBFB6 #2D7FBF #2D36BF
triadic
#2D7FBF #BF2D7F #7FBF2D
tetradic
#2D7FBF #B62DBF #BF6D2D #36BF2D
square
#2D7FBF #B62DBF #BF6D2D #36BF2D
split-complementary
#2D7FBF #BF2D36 #BFB62D
monochromatic
#163D5C #215E8D #2D7FBF #539DD6 #84B9E2

Accessibility & contrast

On white

4.29
#2D7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2D7FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FBF#FFFFFF#000000##000000
##2D7FBF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C2
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d7fbf;
/* rgb */ color: rgb(45, 127, 191);
/* oklch */ color: oklch(57.8% 0.126 246.2);
Tailwind
colors: {
  custom: {
    50: '#7ba3d2',
    500: '#2d7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fbf;
$custom-light: #7ba3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fbf",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 206.301,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.12556,
    "h": 246.2
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#2D7FBF
secondary
#CB9F7C
accent
#8A43E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2D7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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