#2B7BCA#2B7BCA

#2B7BCA is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.144 H 251.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B7BCA
RGBrgb(43, 123, 202)
HSLhsl(210, 65%, 48%)
HSVhsv(210, 79%, 79%)
CMYKcmyk(78.7%, 39.1%, 0%, 20.8%)
CIE-LABlab(50.62, 3.84, -47.76)
CIE-LCHlch(50.62, 47.92, 274.60°)
OKLaboklab(57.46% -0.0452 -0.1364)
OKLCHoklch(57.46% 0.144 251.7)
XYZxyz(18.7359, 18.9415, 58.5343)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7BCA #CA7A2B
analogous
#2BCAC9 #2B7BCA #2B2CCA
triadic
#2B7BCA #CA2B7B #7BCA2B
tetradic
#2B7BCA #C92BCA #CA7A2B #2CCA2B
square
#2B7BCA #C92BCA #CA7A2B #2CCA2B
split-complementary
#2B7BCA #CA2B2C #CAC92B
monochromatic
#163E65 #205C98 #2B7BCA #579ADB #89B8E6

Accessibility & contrast

On white

4.39
#2B7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2B7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7BCA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7BCA#FFFFFF#000000##000000
##2B7BCA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7bca;
/* rgb */ color: rgb(43, 123, 202);
/* oklch */ color: oklch(57.5% 0.144 251.7);
Tailwind
colors: {
  custom: {
    50: '#7ca0da',
    500: '#2b7bca',
    950: '#000000',
  },
}
SCSS
$custom: #2b7bca;
$custom-light: #7ca0da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7bca",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 209.811,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.14368,
    "h": 251.7
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#2B7BCA
secondary
#D0A881
accent
#9340E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2B7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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