#2785B1#2785B1

#2785B1 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.3% C 0.108 H 233.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2785B1
RGBrgb(39, 133, 177)
HSLhsl(199, 64%, 42%)
HSVhsv(199, 78%, 69%)
CMYKcmyk(78%, 24.9%, 0%, 30.6%)
CIE-LABlab(52.26, -11.66, -30.86)
CIE-LCHlch(52.26, 32.98, 249.30°)
OKLaboklab(58.32% -0.0637 -0.087)
OKLCHoklch(58.32% 0.108 233.8)
XYZxyz(17.1568, 20.3786, 44.6157)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2785B1 #B15327
analogous
#27B198 #2785B1 #2740B1
triadic
#2785B1 #B12785 #85B127
tetradic
#2785B1 #9827B1 #B15327 #40B127
square
#2785B1 #9827B1 #B15327 #40B127
split-complementary
#2785B1 #B12740 #B19827
monochromatic
#113A4D #1C5F7F #2785B1 #40A6D5 #72BDE0

Accessibility & contrast

On white

4.14
#2785B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2785B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2785B1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2785B1#FFFFFF#000000##000000
##2785B11.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B3
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2785b1;
/* rgb */ color: rgb(39, 133, 177);
/* oklch */ color: oklch(58.3% 0.108 233.8);
Tailwind
colors: {
  custom: {
    50: '#76a8c8',
    500: '#2785b1',
    950: '#000000',
  },
}
SCSS
$custom: #2785b1;
$custom-light: #76a8c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2785b1",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 177
  },
  "hsl": {
    "h": 199.13,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.1078,
    "h": 233.8
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#2785B1
secondary
#C78A6D
accent
#7641E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2785B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2785B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva