#2D87AF#2D87AF

#2D87AF is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.103 H 231.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2D87AF
RGBrgb(45, 135, 175)
HSLhsl(198, 59%, 43%)
HSVhsv(198, 74%, 69%)
CMYKcmyk(74.3%, 22.9%, 0%, 31.4%)
CIE-LABlab(52.93, -12.75, -28.66)
CIE-LCHlch(52.93, 31.37, 246.02°)
OKLaboklab(58.86% -0.0635 -0.0806)
OKLCHoklch(58.86% 0.103 231.7)
XYZxyz(17.4809, 20.9789, 43.6772)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87AF #AF552D
analogous
#2DAF96 #2D87AF #2D46AF
triadic
#2D87AF #AF2D87 #87AF2D
tetradic
#2D87AF #962DAF #AF552D #46AF2D
square
#2D87AF #962DAF #AF552D #46AF2D
split-complementary
#2D87AF #AF2D46 #AF962D
monochromatic
#143C4E #20617E #2D87AF #49A7D0 #7ABEDD

Accessibility & contrast

On white

4.04
#2D87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2D87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87AF#FFFFFF#000000##000000
##2D87AF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d87af;
/* rgb */ color: rgb(45, 135, 175);
/* oklch */ color: oklch(58.9% 0.103 231.7);
Tailwind
colors: {
  custom: {
    50: '#78aac7',
    500: '#2d87af',
    950: '#000000',
  },
}
SCSS
$custom: #2d87af;
$custom-light: #78aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87af",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 198.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.10263,
    "h": 231.7
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#2D87AF
secondary
#C58C73
accent
#7646E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2D87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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