#2B70CC#2B70CC

#2B70CC is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.1% C 0.158 H 257.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2B70CC
RGBrgb(43, 112, 204)
HSLhsl(214, 65%, 48%)
HSVhsv(214, 79%, 80%)
CMYKcmyk(78.9%, 45.1%, 0%, 20%)
CIE-LABlab(47.57, 11.43, -53.78)
CIE-LCHlch(47.57, 54.98, 282.00°)
OKLaboklab(55.13% -0.0356 -0.1543)
OKLCHoklch(55.13% 0.158 257)
XYZxyz(17.6855, 16.4595, 59.3599)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B70CC #CC872B
analogous
#2BC0CC #2B70CC #372BCC
triadic
#2B70CC #CC2B70 #70CC2B
tetradic
#2B70CC #CC2BC0 #CC872B #2BCC37
square
#2B70CC #CC2BC0 #CC872B #2BCC37
split-complementary
#2B70CC #CC372B #C0CC2B
monochromatic
#163867 #205499 #2B70CC #5891DC #8BB2E7

Accessibility & contrast

On white

4.89
#2B70CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2B70CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B70CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B70CC#FFFFFF#000000##FFFFFF
##2B70CC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4079CF
Deuteranopia (green-blind)
#1B6ACA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b70cc;
/* rgb */ color: rgb(43, 112, 204);
/* oklch */ color: oklch(55.1% 0.158 257.0);
Tailwind
colors: {
  custom: {
    50: '#7d98dc',
    500: '#2b70cc',
    950: '#000000',
  },
}
SCSS
$custom: #2b70cc;
$custom-light: #7d98dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b70cc",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 214.286,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.15834,
    "h": 257
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#2B70CC
secondary
#D0AF82
accent
#A040E8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2B70CC

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

Preview Lab → · Contrast checker → · Palette generator →

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