#2D7BAF#2D7BAF

#2D7BAF is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.110 H 242.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2D7BAF
RGBrgb(45, 123, 175)
HSLhsl(204, 59%, 43%)
HSVhsv(204, 74%, 69%)
CMYKcmyk(74.3%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.27, -5.85, -34.36)
CIE-LCHlch(49.27, 34.86, 260.34°)
OKLaboklab(55.96% -0.0517 -0.0972)
OKLCHoklch(55.96% 0.11 242)
XYZxyz(15.9000, 17.8171, 43.1502)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7BAF #AF612D
analogous
#2DAFA2 #2D7BAF #2D3AAF
triadic
#2D7BAF #AF2D7B #7BAF2D
tetradic
#2D7BAF #A22DAF #AF612D #3AAF2D
square
#2D7BAF #A22DAF #AF612D #3AAF2D
split-complementary
#2D7BAF #AF2D3A #AFA22D
monochromatic
#14374E #20597E #2D7BAF #499AD0 #7AB5DD

Accessibility & contrast

On white

4.60
#2D7BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2D7BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7BAF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7BAF#FFFFFF#000000##FFFFFF
##2D7BAF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#5170AE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d7baf;
/* rgb */ color: rgb(45, 123, 175);
/* oklch */ color: oklch(56.0% 0.110 242.0);
Tailwind
colors: {
  custom: {
    50: '#78a1c7',
    500: '#2d7baf',
    950: '#000000',
  },
}
SCSS
$custom: #2d7baf;
$custom-light: #78a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7baf",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 204,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.11009,
    "h": 242
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#2D7BAF
secondary
#C59473
accent
#8446E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D7BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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