#2F70C9#2F70C9

#2F70C9 is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 55.1% C 0.153 H 257.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F70C9
RGBrgb(47, 112, 201)
HSLhsl(215, 62%, 49%)
HSVhsv(215, 77%, 79%)
CMYKcmyk(76.6%, 44.3%, 0%, 21.2%)
CIE-LABlab(47.50, 10.75, -52.16)
CIE-LCHlch(47.50, 53.26, 281.64°)
OKLaboklab(55.05% -0.0338 -0.1495)
OKLCHoklch(55.05% 0.153 257.2)
XYZxyz(17.5052, 16.4077, 57.4914)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F70C9 #C9882F
analogous
#2FBDC9 #2F70C9 #3B2FC9
triadic
#2F70C9 #C92F70 #70C92F
tetradic
#2F70C9 #C92FBD #C9882F #2FC93B
square
#2F70C9 #C92FBD #C9882F #2FC93B
split-complementary
#2F70C9 #C93B2F #BDC92F
monochromatic
#183966 #235497 #2F70C9 #5C91D9 #8EB2E5

Accessibility & contrast

On white

4.90
#2F70C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F70C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F70C9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F70C9#FFFFFF#000000##FFFFFF
##2F70C91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#236AC7
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f70c9;
/* rgb */ color: rgb(47, 112, 201);
/* oklch */ color: oklch(55.1% 0.153 257.2);
Tailwind
colors: {
  custom: {
    50: '#7d98da',
    500: '#2f70c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f70c9;
$custom-light: #7d98da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f70c9",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 201
  },
  "hsl": {
    "h": 214.675,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.15325,
    "h": 257.2
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#2F70C9
secondary
#CFB085
accent
#A143E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2F70C9

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

Preview Lab → · Contrast checker → · Palette generator →

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