#2B7DCA#2B7DCA

#2B7DCA is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.142 H 250.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2B7DCA
RGBrgb(43, 125, 202)
HSLhsl(209, 65%, 48%)
HSVhsv(209, 79%, 79%)
CMYKcmyk(78.7%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.20, 2.62, -46.84)
CIE-LCHlch(51.20, 46.91, 273.21°)
OKLaboklab(57.92% -0.0469 -0.1336)
OKLCHoklch(57.92% 0.142 250.7)
XYZxyz(18.9865, 19.4428, 58.6178)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7DCA #CA782B
analogous
#2BCAC8 #2B7DCA #2B2DCA
triadic
#2B7DCA #CA2B7D #7DCA2B
tetradic
#2B7DCA #C82BCA #CA782B #2DCA2B
square
#2B7DCA #C82BCA #CA782B #2DCA2B
split-complementary
#2B7DCA #CA2B2D #CAC82B
monochromatic
#163F65 #205E98 #2B7DCA #579BDB #89B9E6

Accessibility & contrast

On white

4.30
#2B7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2B7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7DCA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7DCA#FFFFFF#000000##000000
##2B7DCA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b7dca;
/* rgb */ color: rgb(43, 125, 202);
/* oklch */ color: oklch(57.9% 0.142 250.7);
Tailwind
colors: {
  custom: {
    50: '#7ca2da',
    500: '#2b7dca',
    950: '#000000',
  },
}
SCSS
$custom: #2b7dca;
$custom-light: #7ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7dca",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 209.057,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.14163,
    "h": 250.7
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#2B7DCA
secondary
#D0A781
accent
#9140E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2B7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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