#2D7CAF#2D7CAF

#2D7CAF is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.109 H 241.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D7CAF
RGBrgb(45, 124, 175)
HSLhsl(204, 59%, 43%)
HSVhsv(204, 74%, 69%)
CMYKcmyk(74.3%, 29.1%, 0%, 31.4%)
CIE-LABlab(49.58, -6.44, -33.89)
CIE-LCHlch(49.58, 34.50, 259.24°)
OKLaboklab(56.2% -0.0527 -0.0958)
OKLCHoklch(56.2% 0.109 241.2)
XYZxyz(16.0247, 18.0665, 43.1918)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7CAF #AF602D
analogous
#2DAFA1 #2D7CAF #2D3BAF
triadic
#2D7CAF #AF2D7C #7CAF2D
tetradic
#2D7CAF #A12DAF #AF602D #3BAF2D
square
#2D7CAF #A12DAF #AF602D #3BAF2D
split-complementary
#2D7CAF #AF2D3B #AFA12D
monochromatic
#14374E #205A7E #2D7CAF #499BD0 #7AB6DD

Accessibility & contrast

On white

4.55
#2D7CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2D7CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7CAF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7CAF#FFFFFF#000000##000000
##2D7CAF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7caf;
/* rgb */ color: rgb(45, 124, 175);
/* oklch */ color: oklch(56.2% 0.109 241.2);
Tailwind
colors: {
  custom: {
    50: '#78a1c7',
    500: '#2d7caf',
    950: '#000000',
  },
}
SCSS
$custom: #2d7caf;
$custom-light: #78a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7caf",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 203.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.562,
    "c": 0.10934,
    "h": 241.2
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#2D7CAF
secondary
#C59373
accent
#8346E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2D7CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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