#2D7BAA#2D7BAA

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

Color values

HEX#2D7BAA
RGBrgb(45, 123, 170)
HSLhsl(203, 58%, 42%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(73.5%, 27.6%, 0%, 33.3%)
CIE-LABlab(49.04, -7.64, -31.83)
CIE-LCHlch(49.04, 32.74, 256.50°)
OKLaboklab(55.69% -0.0533 -0.0899)
OKLCHoklch(55.69% 0.104 239.3)
XYZxyz(15.4180, 17.6243, 40.6117)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7BAA #AA5C2D
analogous
#2DAA9B #2D7BAA #2D3CAA
triadic
#2D7BAA #AA2D7B #7BAA2D
tetradic
#2D7BAA #9B2DAA #AA5C2D #3CAA2D
square
#2D7BAA #9B2DAA #AA5C2D #3CAA2D
split-complementary
#2D7BAA #AA2D3C #AA9B2D
monochromatic
#133549 #20587A #2D7BAA #469BCE #77B5DB

Accessibility & contrast

On white

4.64
#2D7BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2D7BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7BAA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7BAA#FFFFFF#000000##FFFFFF
##2D7BAA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d7baa;
/* rgb */ color: rgb(45, 123, 170);
/* oklch */ color: oklch(55.7% 0.104 239.3);
Tailwind
colors: {
  custom: {
    50: '#77a1c3',
    500: '#2d7baa',
    950: '#000000',
  },
}
SCSS
$custom: #2d7baa;
$custom-light: #77a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7baa",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 170
  },
  "hsl": {
    "h": 202.56,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.10449,
    "h": 239.3
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#2D7BAA
secondary
#C38F70
accent
#8146E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D7BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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