#2D7FBA#2D7FBA

#2D7FBA is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.5% C 0.120 H 244.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D7FBA
RGBrgb(45, 127, 186)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 73%)
CMYKcmyk(75.8%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.01, -4.23, -37.98)
CIE-LCHlch(51.01, 38.21, 263.64°)
OKLaboklab(57.51% -0.0521 -0.1077)
OKLCHoklch(57.51% 0.12 244.2)
XYZxyz(17.5311, 19.2798, 49.2423)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FBA #BA682D
analogous
#2DBAAE #2D7FBA #2D39BA
triadic
#2D7FBA #BA2D7F #7FBA2D
tetradic
#2D7FBA #AE2DBA #BA682D #39BA2D
square
#2D7FBA #AE2DBA #BA682D #39BA2D
split-complementary
#2D7FBA #BA2D39 #BAAE2D
monochromatic
#153C57 #215D89 #2D7FBA #509DD5 #81B8E0

Accessibility & contrast

On white

4.32
#2D7FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2D7FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FBA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FBA#FFFFFF#000000##000000
##2D7FBA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fba;
/* rgb */ color: rgb(45, 127, 186);
/* oklch */ color: oklch(57.5% 0.120 244.2);
Tailwind
colors: {
  custom: {
    50: '#7aa3cf',
    500: '#2d7fba',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fba;
$custom-light: #7aa3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fba",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 205.106,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.11962,
    "h": 244.2
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#2D7FBA
secondary
#C99B79
accent
#8744E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2D7FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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