#2A70B1#2A70B1

#2A70B1 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.123 H 250.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2A70B1
RGBrgb(42, 112, 177)
HSLhsl(209, 62%, 43%)
HSVhsv(209, 76%, 69%)
CMYKcmyk(76.3%, 36.7%, 0%, 30.6%)
CIE-LABlab(45.98, 1.13, -40.73)
CIE-LCHlch(45.98, 40.75, 271.58°)
OKLaboklab(53.37% -0.0423 -0.116)
OKLCHoklch(53.37% 0.123 250)
XYZxyz(14.6818, 15.2532, 43.7568)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70B1 #B16B2A
analogous
#2AB1AE #2A70B1 #2A2CB1
triadic
#2A70B1 #B12A70 #70B12A
tetradic
#2A70B1 #AE2AB1 #B16B2A #2CB12A
square
#2A70B1 #AE2AB1 #B16B2A #2CB12A
split-complementary
#2A70B1 #B12A2C #B1AE2A
monochromatic
#13314E #1E5180 #2A70B1 #458FD3 #77ADDF

Accessibility & contrast

On white

5.18
#2A70B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2A70B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70B1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70B1#FFFFFF#000000##FFFFFF
##2A70B11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a70b1;
/* rgb */ color: rgb(42, 112, 177);
/* oklch */ color: oklch(53.4% 0.123 250.0);
Tailwind
colors: {
  custom: {
    50: '#7798c8',
    500: '#2a70b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a70b1;
$custom-light: #7798c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70b1",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 177
  },
  "hsl": {
    "h": 208.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.12343,
    "h": 250
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#2A70B1
secondary
#C69A70
accent
#9143E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A70B1

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

Preview Lab → · Contrast checker → · Palette generator →

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