#2A70AF#2A70AF

#2A70AF is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.121 H 249.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A70AF
RGBrgb(42, 112, 175)
HSLhsl(208, 61%, 43%)
HSVhsv(208, 76%, 69%)
CMYKcmyk(76%, 36%, 0%, 31.4%)
CIE-LABlab(45.87, 0.38, -39.73)
CIE-LCHlch(45.87, 39.74, 270.55°)
OKLaboklab(53.25% -0.0428 -0.1131)
OKLCHoklch(53.25% 0.121 249.3)
XYZxyz(14.4839, 15.1740, 42.7147)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A70AF #AF692A
analogous
#2AAFAB #2A70AF #2A2EAF
triadic
#2A70AF #AF2A70 #70AF2A
tetradic
#2A70AF #AB2AAF #AF692A #2EAF2A
square
#2A70AF #AB2AAF #AF692A #2EAF2A
split-complementary
#2A70AF #AF2A2E #AFAB2A
monochromatic
#12314C #1E507E #2A70AF #448FD2 #75ACDE

Accessibility & contrast

On white

5.20
#2A70AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A70AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A70AF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A70AF#FFFFFF#000000##FFFFFF
##2A70AF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a70af;
/* rgb */ color: rgb(42, 112, 175);
/* oklch */ color: oklch(53.3% 0.121 249.3);
Tailwind
colors: {
  custom: {
    50: '#7698c7',
    500: '#2a70af',
    950: '#000000',
  },
}
SCSS
$custom: #2a70af;
$custom-light: #7698c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a70af",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 208.421,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.12089,
    "h": 249.3
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#2A70AF
secondary
#C6986F
accent
#9043E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2A70AF

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

Preview Lab → · Contrast checker → · Palette generator →

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