#2D7BCA#2D7BCA

#2D7BCA is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.5% C 0.143 H 252.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D7BCA
RGBrgb(45, 123, 202)
HSLhsl(210, 64%, 48%)
HSVhsv(210, 78%, 79%)
CMYKcmyk(77.7%, 39.1%, 0%, 20.8%)
CIE-LABlab(50.67, 4.06, -47.68)
CIE-LCHlch(50.67, 47.85, 274.87°)
OKLaboklab(57.52% -0.0441 -0.1361)
OKLCHoklch(57.52% 0.143 252)
XYZxyz(18.8218, 18.9858, 58.5383)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7BCA #CA7C2D
analogous
#2DC9CA #2D7BCA #2D2DCA
triadic
#2D7BCA #CA2D7B #7BCA2D
tetradic
#2D7BCA #CA2DC9 #CA7C2D #2DCA2D
square
#2D7BCA #CA2DC9 #CA7C2D #2DCA2D
split-complementary
#2D7BCA #CA2D2D #C9CA2D
monochromatic
#173E66 #225D98 #2D7BCA #5A9ADA #8CB8E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7BCA#FFFFFF#000000##000000
##2D7BCA1.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)
#5580CD
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d7bca;
/* rgb */ color: rgb(45, 123, 202);
/* oklch */ color: oklch(57.5% 0.143 252.0);
Tailwind
colors: {
  custom: {
    50: '#7da0da',
    500: '#2d7bca',
    950: '#000000',
  },
}
SCSS
$custom: #2d7bca;
$custom-light: #7da0da;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7bca",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 210.191,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.1431,
    "h": 252
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#2D7BCA
secondary
#CFAA83
accent
#9441E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2D7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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