#2D7AAF#2D7AAF

#2D7AAF is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.111 H 242.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2D7AAF
RGBrgb(45, 122, 175)
HSLhsl(204, 59%, 43%)
HSVhsv(204, 74%, 69%)
CMYKcmyk(74.3%, 30.3%, 0%, 31.4%)
CIE-LABlab(48.97, -5.26, -34.84)
CIE-LCHlch(48.97, 35.23, 261.41°)
OKLaboklab(55.72% -0.0507 -0.0986)
OKLCHoklch(55.72% 0.111 242.8)
XYZxyz(15.7766, 17.5703, 43.1091)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7AAF #AF622D
analogous
#2DAFA3 #2D7AAF #2D39AF
triadic
#2D7AAF #AF2D7A #7AAF2D
tetradic
#2D7AAF #A32DAF #AF622D #39AF2D
square
#2D7AAF #A32DAF #AF622D #39AF2D
split-complementary
#2D7AAF #AF2D39 #AFA32D
monochromatic
#14364E #20587E #2D7AAF #4999D0 #7AB4DD

Accessibility & contrast

On white

4.65
#2D7AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2D7AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7AAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7AAF#FFFFFF#000000##FFFFFF
##2D7AAF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627BB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d7aaf;
/* rgb */ color: rgb(45, 122, 175);
/* oklch */ color: oklch(55.7% 0.111 242.8);
Tailwind
colors: {
  custom: {
    50: '#78a0c7',
    500: '#2d7aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2d7aaf;
$custom-light: #78a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7aaf",
  "rgb": {
    "r": 45,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 204.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.11088,
    "h": 242.8
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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