#2D89B2#2D89B2

#2D89B2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.5% C 0.104 H 231.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2D89B2
RGBrgb(45, 137, 178)
HSLhsl(198, 60%, 44%)
HSVhsv(198, 75%, 70%)
CMYKcmyk(74.7%, 23%, 0%, 30.2%)
CIE-LABlab(53.67, -12.83, -29.24)
CIE-LCHlch(53.67, 31.93, 246.30°)
OKLaboklab(59.5% -0.0644 -0.0822)
OKLCHoklch(59.5% 0.104 231.9)
XYZxyz(18.0605, 21.6614, 45.3401)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D89B2 #B2562D
analogous
#2DB298 #2D89B2 #2D46B2
triadic
#2D89B2 #B22D89 #89B22D
tetradic
#2D89B2 #982DB2 #B2562D #46B22D
square
#2D89B2 #982DB2 #B2562D #46B22D
split-complementary
#2D89B2 #B22D46 #B2982D
monochromatic
#143E50 #216381 #2D89B2 #4BA8D1 #7CC0DE

Accessibility & contrast

On white

3.94
#2D89B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#2D89B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D89B2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D89B2#FFFFFF#000000##000000
##2D89B21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#627BB1
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2d89b2;
/* rgb */ color: rgb(45, 137, 178);
/* oklch */ color: oklch(59.5% 0.104 231.9);
Tailwind
colors: {
  custom: {
    50: '#79abc9',
    500: '#2d89b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d89b2;
$custom-light: #79abc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d89b2",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 178
  },
  "hsl": {
    "h": 198.496,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.10447,
    "h": 231.9
  },
  "luminance": 0.21664
}

Semantic roles & 50–950 ramp

primary
#2D89B2
secondary
#C68E75
accent
#7645E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2D89B2

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

Preview Lab → · Contrast checker → · Palette generator →

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