#2B7FCA#2B7FCA

#2B7FCA is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.140 H 249.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B7FCA
RGBrgb(43, 127, 202)
HSLhsl(208, 65%, 48%)
HSVhsv(208, 79%, 79%)
CMYKcmyk(78.7%, 37.1%, 0%, 20.8%)
CIE-LABlab(51.79, 1.41, -45.91)
CIE-LCHlch(51.79, 45.93, 271.76°)
OKLaboklab(58.37% -0.0486 -0.1309)
OKLCHoklch(58.37% 0.14 249.6)
XYZxyz(19.2422, 19.9543, 58.7031)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FCA #CA762B
analogous
#2BCAC5 #2B7FCA #2B2FCA
triadic
#2B7FCA #CA2B7F #7FCA2B
tetradic
#2B7FCA #C52BCA #CA762B #2FCA2B
square
#2B7FCA #C52BCA #CA762B #2FCA2B
split-complementary
#2B7FCA #CA2B2F #CAC52B
monochromatic
#164065 #205F98 #2B7FCA #579DDB #89BAE6

Accessibility & contrast

On white

4.21
#2B7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2B7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FCA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FCA#FFFFFF#000000##000000
##2B7FCA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b7fca;
/* rgb */ color: rgb(43, 127, 202);
/* oklch */ color: oklch(58.4% 0.140 249.6);
Tailwind
colors: {
  custom: {
    50: '#7ca3da',
    500: '#2b7fca',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fca;
$custom-light: #7ca3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fca",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 208.302,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.13963,
    "h": 249.6
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#2B7FCA
secondary
#D0A681
accent
#8F40E8
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2B7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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