#2D7FB3#2D7FB3

#2D7FB3 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.112 H 240.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D7FB3
RGBrgb(45, 127, 179)
HSLhsl(203, 60%, 44%)
HSVhsv(203, 75%, 70%)
CMYKcmyk(74.9%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.67, -6.76, -34.48)
CIE-LCHlch(50.67, 35.14, 258.91°)
OKLaboklab(57.13% -0.0543 -0.0975)
OKLCHoklch(57.13% 0.112 240.9)
XYZxyz(16.8051, 18.9894, 45.4187)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FB3 #B3612D
analogous
#2DB3A4 #2D7FB3 #2D3CB3
triadic
#2D7FB3 #B32D7F #7FB32D
tetradic
#2D7FB3 #A42DB3 #B3612D #3CB32D
square
#2D7FB3 #A42DB3 #B3612D #3CB32D
split-complementary
#2D7FB3 #B32D3C #B3A42D
monochromatic
#143A51 #215C82 #2D7FB3 #4B9ED2 #7CB8DE

Accessibility & contrast

On white

4.38
#2D7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2D7FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FB3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FB3#FFFFFF#000000##000000
##2D7FB31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7fb3;
/* rgb */ color: rgb(45, 127, 179);
/* oklch */ color: oklch(57.1% 0.112 240.9);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2d7fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fb3;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fb3",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 203.284,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.1116,
    "h": 240.9
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#2D7FB3
secondary
#C79575
accent
#8245E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2D7FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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